Type Property

localRight

The direction SceneKit treats as "right" in local space for all nodes.

Declaration

@property(class, readonly, nonatomic) SCNVector3 localRight;

Discussion

No SceneKit features depend directly on this direction's definition—it's simply a natural consequence of recognizing "forward" and "up" directions for use with cameras, directional lighting, and relative orientation operations.

This vector is always (1, 0, 0) for all nodes, but you can use this class property when it's convenient to refer to directions symbolically.

See Also

Calculating Node-Relative Transforms (SceneKit Types)

localUp

The direction SceneKit treats as "up" in local space for all nodes.

localFront

The unit vector SceneKit treats as "forward" in local space for all nodes.

worldRight

The "right" (+X) direction vector relative to the node, expressed in world space.

worldUp

The "up" (+Y) direction vector relative to the node, expressed in world space.

worldFront

The "forward" (-Z) direction vector relative to the node, expressed in world space.