Instance Property

simdWorldUp

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

Declaration

@property(readonly, nonatomic) simd_float3 simdWorldUp;

Discussion

Reading this property is equivalent to reading the simdLocalUp class property and using the simdConvertVector:toNode: or simdConvertVector:fromNode: method to convert that vector from the node's local coordinate space to the scene's world coordinate space.

See Also

Calculating Node-Relative Transforms

simdLocalRight

The direction SceneKit treats as "right" in local space for all nodes.

simdLocalUp

The direction SceneKit treats as "up" in local space for all nodes.

simdLocalFront

The unit vector SceneKit treats as "forward" in local space for all nodes.

simdWorldRight

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

simdWorldFront

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