Instance Property

position

The translation applied to the node. Animatable.

Declaration

@property(nonatomic) SCNVector3 position;

Discussion

The node’s position locates it within the coordinate system of its parent, as modified by the node’s pivot 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 (SceneKit Types)

transform

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

rotation

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

eulerAngles

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

orientation

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

scale

The scale factor applied to the node. Animatable.

pivot

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

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software