Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSHARP

c# get witdh of matrix

int[,] matrix2D = new int[,];
int[,,] matrix3D = new int[,,];

matrix2D.GetLength(0); //width
matrix2D.GetLength(1); //height

matrix3d.GetLength(0) //x
matrix3d.GetLength(0) //y
matrix3d.GetLength(0) //z
 
PREVIOUS NEXT
Tagged: #witdh #matrix
ADD COMMENT
Topic
Name
4+5 =