Skip to main content

compose

Function compose 

Source
pub fn compose(
    translation: Vector3,
    rotation: Quaternion,
    scale: Vector3,
) -> Matrix4
Expand description

Composes a matrix from translation, rotation and scale.

Flutter counterpart: Matrix4.compose, which is setFromTranslationRotation followed by scaleByVector3.