Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


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

Creates a new MeshTransform.
Read time 1 minuteLast updated 5 days ago

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.