Returns the orientation of the transform as a rotation matrix, as of the specified time sample.
- iOS 9.0+
- macOS 10.11+
- Mac Catalyst 13.0+Beta
- tvOS 9.0+
- Model I/O
The time sample for which to request information.
The orientation, as a rotation matrix, of the transform.
A rotation matrix provides the same information as the vector returned by the
rotation(at method, but in a form more convenient for multiplying with position vectors.
Together with the translation, scale, and shear factors, rotation information 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
Requesting a sample outside the time range clamps results to the
maximum sample. Some asset formats support continuous sampling with interpolation for times between the samples stored in the asset; others are discrete. For an asset with discrete time information, requesting a sample time in between the samples stored in the asset returns data for the immediately preceding time.