Contents

worldRight

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

Declaration

var worldRight: SCNVector3 { get }

Discussion

Reading this property is equivalent to reading the localRight class property and using the convertVector(_:to:) or convertVector(_:from:) method to convert that vector from the node’s local coordinate space to the scene’s world coordinate space.

See Also

Related Documentation

Calculating Node-Relative Transforms (SceneKit Types)