setFromRotationMatrix

fun setFromRotationMatrix(m: Matrix4, order: EulerOrder = _order, update: Boolean = true): Euler

Sets the angles of this Euler instance from a pure rotation matrix m (the upper 3x3 of which must be an unscaled rotation).

Return

A reference to this Euler instance.

Parameters

m

A 4x4 matrix whose upper 3x3 is a pure rotation matrix.

order

The order in which the axis rotations are applied.

update

Whether the onChange callback should be executed.