The transform applied to the node relative to its parent. Animatable.
- iOS 11.0+
- macOS 10.13+
- Mac Catalyst 13.0+Beta
- tvOS 11.0+
- watchOS 4.0+
The transform is the combination of the node’s
simdScale properties. The default transform is the identity matrix.
When you set the value of this property, the node’s
simdScale properties automatically change to match the new transform, and vice versa. SceneKit can perform this conversion only if the transform you provide is a combination of rotation, translation, and scale operations. If you set the value of this property to a skew transform or to a nonaffine transform, the values of these properties become undefined. Setting a new value for any of these properties causes SceneKit to compute a new transform, discarding any skew or nonaffine operations in the original transform.
You can animate changes to this property’s value. See Animating SceneKit Content.
Managing the Node's Transform
The translation applied to the node. Animatable.
The node’s orientation, expressed as a rotation angle about an axis. Animatable.
The node’s orientation, expressed as pitch, yaw, and roll angles in radians. Animatable.
The node’s orientation, expressed as a quaternion. Animatable.
The scale factor applied to the node. Animatable.
The pivot point for the node’s position, rotation, and scale. Animatable.
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