Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


ConsumeTransform

Indicates you plan to consume the resulting mesh's transform.
Read time 1 minuteLast updated 11 days ago

Definition

  • Type: Field
  • Namespace: UnityEngine.XR
  • Assembly: UnityEngine.XRModule
ConsumeTransform = 1

Remarks

Used by XRMeshSubsystem.GenerateMeshAsync when the mesh provider supplies a transform. If
MeshGenerationOptions
has this value, Unity does not apply the supplied transform to the vertices. Otherwise, Unity applies the supplied transform to the vertices of the mesh, and rebakes the physics mesh.