Contents

simdWorldFront

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

Declaration

var simdWorldFront: simd_float3 { get }

Discussion

Reading this property is equivalent to reading the simdLocalFront class property and using the simdConvertVector(_:to:) or simdConvertVector(_: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