Instance Method

setIdentity

Sets all factors of the transform to those of the identity transformation.

Declaration

- (void)setIdentity;

Discussion

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.

See Also

Using Factors of a Static Transform

translation

The x-, y-, and z-axis offsets of the transform relative to its parent coordinate space.

rotation

The orientation, as a vector of Euler angles in radians, of the transform relative to its parent coordinate space.

scale

The x-, y-, and z-axis scale factors of the transform relative to its parent coordinate space.

shear

The x-, y-, and z-axis shear factors of the transform relative to its parent coordinate space.