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 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.
MeshGenerationOptionsAdditional Resources: XRMeshSubsystem.GenerateMeshAsync, MeshGenerationResult