globalRotation

fun globalRotation(quaternion: Vec4f): Node3D

Sets the rotation of the Node3D in global space to the given Quaternion.

Return

the current Node3D

Parameters

quaternion

the new quaternion


The rotation of the Node3D in global space as a Quaternion.