Contents

simdWorldRight

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

Declaration

var simdWorldRight: simd_float3 { get }

Discussion

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