Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


Rotation

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

Definition

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

Remarks

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