This version of Unity is unsupported.

MeshTransform

struct in UnityEngine.XR

/

Implemented in:UnityEngine.XRModule

Description

Contains transform information related to a tracked mesh.

This struct is used by the XRMeshSubsystem to communication information about a mesh's transform.

See Also: XRMeshSubsystem.GetUpdatedMeshTransforms

Properties

MeshIdThe session-unique identifier of the tracked mesh.
PositionThe position of the mesh, relative to the session origin.
RotationThe rotation of the mesh, relative to the session origin.
ScaleThe scale of the mesh, relative to the session origin.
TimestampThe timestamp associated with this transform.

Constructors

MeshTransformCreates a new MeshTransform.