Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


Position

The position associated with the generated mesh relative to the session origin.
Read time 1 minuteLast updated 11 days ago

Definition

  • Type: Property
  • Namespace: UnityEngine.XR
  • Assembly: UnityEngine.XRModule
public readonly Vector3 Position { get; }

Remarks

This value will be zero unless the MeshGenerationOptions.ConsumeTransform flag was provided to XRMeshSubsystem.GenerateMeshAsync.
Additional Resources: XRMeshSubsystem.GenerateMeshAsync