ドキュメント

Unity Engine

Unity Engine

MeshTransform(in MeshId, ulong, in Vector3, in Quaternion, in Vector3)

Creates a new MeshTransform.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

Definition

  • Type: Constructor
  • Namespace: UnityEngine.XR
  • Assembly: UnityEngine.XRModule

MeshTransform(MeshId, ulong, Vector3, Quaternion, Vector3)

public MeshTransform(in MeshId meshId, ulong timestamp, in Vector3 position, in Quaternion rotation, in Vector3 scale)

Parameters

meshId

The identifier of the mesh.

timestamp

The timestamp for the mesh's transform. Larger values indicate newer transforms.

position

The position of the mesh relative to the session origin.

rotation

The rotation of the mesh relative to the session origin.

scale

The scale of the mesh relative to the session origin.