Contents

worldOrientation

The node’s orientation relative to the scene’s world coordinate space.

Declaration

var worldOrientation: SCNQuaternion { get set }

Discussion

This quaternion isolates the rotational aspect of the node’s worldTransform matrix, which in turn is the conversion of the node’s transform from local space to the scene’s world coordinate space. That is, it expresses the difference in axis and angle of rotation between the node and the scene’s rootNode.

See Also

Related Documentation

Managing Transforms in World Space (SceneKit Types)