Instance Property

simdWorldPosition

The node's position relative to the scene's world coordinate space.

Declaration

@property(nonatomic) simd_float3 simdWorldPosition;

Discussion

This vector isolates the translational aspect of the node's simdWorldTransform matrix, which in turn is the conversion of the node's simdTransform from local space to the scene's world coordinate space. That is, it expresses the x, y, and z offsets of the node's position from that of the scene's rootNode, and is equivalent to reading the node's simdPosition vector and converting it to world space with the simdConvertPosition:fromNode: or simdConvertPosition:toNode: method.

See Also

Managing Transforms in World Space

simdWorldTransform

The world transform applied to the node.

simdWorldOrientation

The node's orientation relative to the scene's world coordinate space.