Contents

worldFront

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

Declaration

var worldFront: SCNVector3 { get }

Discussion

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