Sets the x-, y-, and z-axis offsets of the transform for the specified time sample.
- iOS 9.0+
- macOS 10.11+
- Mac Catalyst 13.0+Beta
- tvOS 9.0+
- Model I/O
The translation vector to set for the transform relative to its parent coordinate space.
The time sample with which to associate transform information.
Together with the rotation, scale, and shear factors, a translation vector defines the local coordinate space for any object affected by the transform, relative to a parent coordinate space. To work with the complete transform, use the
Setting a new translation synthesizes a complete transform matrix by combining the new translation with the
shear(at factors for the specified time. If the new time is outside the range of the
maximum properties, this method updates those values to reflect the range of time samples stored in the transform object.