文档

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.