localMatrix property
Matrix4
get
localMatrix
Returns the local transform matrix (TRS).
Implementation
Matrix4 get localMatrix {
if (_dirty || _localMatrix == null) {
_localMatrix = Matrix4.compose(_position, _rotation, _scale);
_dirty = false;
}
return _localMatrix!;
}