Returns the absolute coordinate transformation for an object in a transform hierarchy.
- iOS 9.0+
- macOS 10.11+
- Mac Catalyst 13.0+Beta
- tvOS 9.0+
- Model I/O
An object with a transform component.
The time sample for which to request information.
The transform matrix that defines a local coordinate space relative to the root coordinate space of the hierarchy containing the object.
Asset file formats typically describe collections of meshes, models, or lights with a hierarchy of transforms relative to the scene containing them all. For example, if you call this method on a
MDLMesh object loaded from a
MDLAsset instance, Model I/O concatenates the local transformations of the mesh, its parent object, and any further parent objects to return the mesh’s transform relative to the root coordinate space of the scene that the asset describes.