Matrix4.compose constructor Null safety
- Vector3 translation,
- Quaternion rotation,
- Vector3 scale
Constructs Matrix4 from translation
, rotation
and scale
.
Implementation
factory Matrix4.compose(
Vector3 translation, Quaternion rotation, Vector3 scale) =>
Matrix4.zero()
..setFromTranslationRotationScale(translation, rotation, scale);