Contents

orientation

The node’s orientation, expressed as a quaternion. Animatable.

Declaration

var orientation: SCNQuaternion { get set }

Discussion

The rotation, eulerAngles, and orientation properties all affect the rotational aspect of the node’s transform property. Any change to one of these properties is reflected in the others.

You can animate changes to this property’s value. See Animating SceneKit Content.

See Also

Related Documentation

Managing the Node’s Transform (SceneKit Types)