Skip to content

API > Matrix4x4 > [index]


Matrix4x4.[index]⚓︎

Name Type
[index] number

Description⚓︎

Access element at sequential index (1..16 inclusive).

Extra Detail⚓︎

A matrix is 4x4 array of numbers (16 numbers in total). You can access the individual elements using "flattened" index with this. The index is row+column*4.