setFromEuler

fun setFromEuler(euler: Euler, update: Boolean = true): Quaternion

Sets this quaternion from the rotation specified by the given Euler angles.

Return

A reference to this quaternion.

Parameters

euler

The Euler angles.

update

Whether the onChange callback should be executed.