ドキュメント

Unity Engine

Unity Engine

ConsumeTransform

Indicates you plan to consume the resulting mesh's transform.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

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.