Instance Property

simdPosition

The translation applied to the node. Animatable.

Declaration

@property(nonatomic) simd_float3 simdPosition;

Discussion

The node’s position locates it within the coordinate system of its parent, as modified by the node’s simdPivot property. The default position is the zero vector, indicating that the node is placed at the origin of the parent node’s coordinate system.

You can animate changes to this property’s value. See Animating SceneKit Content.

See Also

Managing the Node's Transform

simdTransform

The transform applied to the node relative to its parent. Animatable.

simdRotation

The node’s orientation, expressed as a rotation angle about an axis. Animatable.

simdEulerAngles

The node’s orientation, expressed as pitch, yaw, and roll angles in radians. Animatable.

simdOrientation

The node’s orientation, expressed as a quaternion. Animatable.

simdScale

The scale factor applied to the node. Animatable.

simdPivot

The pivot point for the node’s position, rotation, and scale. Animatable.