Sets all factors of the transform to those of the identity transformation.
- iOS 9.0+
- macOS 10.11+
- Mac Catalyst 13.0+Beta
- tvOS 9.0+
The identity transform is equivalent to the lack of a transformation, so an object affected by the transform uses the same coordinate space as its parent. Calling this method also erases any time-sampled data, creating a static transform.
Using Factors of a Static Transform
var rotation: vector_float3
The orientation, as a vector of Euler angles in radians, of the transform relative to its parent coordinate space.
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