Version: 2023.2
言語: 日本語

MeshTransform

struct in UnityEngine.XR

マニュアルに切り替える

説明

Contains transform information related to a tracked mesh.

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

Additional resources: XRMeshSubsystem.GetUpdatedMeshTransforms

変数

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.

コンストラクタ

MeshTransformCreates a new MeshTransform.