Type Property

simdLocalUp

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

Declaration

@property(class, readonly, nonatomic) simd_float3 simdLocalUp;

Discussion

The "up" direction of a node affects cameras attached to a node, as well as relative orientation and movement effects such as simdLookAt:, SCNLookAtConstraint, and SCNBillboardConstraint.

This vector is always (0, 1, 0) for all nodes, but you can use this class property when it's convenient to refer to directions symbolically.

See Also

Calculating Node-Relative Transforms

simdLocalRight

The direction SceneKit treats as "right" 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.

simdWorldUp

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

simdWorldFront

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