Contents

worldUp

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

Declaration

var worldUp: SCNVector3 { get }

Discussion

Reading this property is equivalent to reading the localUp 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)