Instance Property

worldOrientation

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

Declaration

@property(nonatomic) SCNQuaternion worldOrientation;

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

Managing Transforms in World Space (SceneKit Types)

worldTransform

The world transform applied to the node.

- setWorldTransform:

Sets the world transform applied to the node.

worldPosition

The node's position relative to the scene's world coordinate space.