文档

Unity Engine

Unity Engine

MeshColliderCookingOptions

Cooking options that are available with MeshCollider.
阅读时间1 分钟最后更新于 1 个月前

Definition

  • Type: Enum
  • Namespace: UnityEngine
  • Assembly: UnityEngine.PhysicsModule
[Flags]public enum MeshColliderCookingOptions

Fields

Value

Description

CookForFasterSimulationToggle between cooking for faster simulation or faster cooking time.
EnableMeshCleaningToggle cleaning of the mesh.
NoneNo optional cooking steps will be run.
UseFastMidphaseDetermines whether to use the fast midphase structure that doesn't require R-trees.
WeldColocatedVerticesToggle the removal of equal vertices.