getMatrixAt method
Matrix4?
getMatrixAt(
- dynamic geometryId,
- Matrix4 matrix
Implementation
Matrix4? getMatrixAt( geometryId,Matrix4 matrix ) {
final active = _active;
final matricesArray = matricesTexture?.image.data;
final geometryCount = _geometryCount;
if ( geometryId >= geometryCount || active[ geometryId ] == false ) {
return null;
}
return matrix.fromNativeArray( matricesArray, geometryId * 16 );
}