• Decomposes the current Matrix into a translation, rotation and scaling components

    Returns

    true if operation was successful

    Parameters

    • self: ReadonlyMatrix
    • Optional scale: MutableVector3

      defines the scale vector3 given as a reference to update

    • Optional rotation: MutableQuaternion

      defines the rotation quaternion given as a reference to update

    • Optional translation: MutableVector3

      defines the translation vector3 given as a reference to update

    Returns boolean