PhysicsWorld.RenderingMode
Controls drawing and rendering is allowed. NOTE: Drawing and rendering are always available in the Unity Editor however rendering requires compute buffer support on any device it is used without which no rendering will occur.
Read time 1 minuteLast updated 7 days ago
Definition
- Type: Enum
- Namespace: Unity.U2D.Physics
- Assembly: UnityEngine.PhysicsCore2DModule
public enum PhysicsWorld.RenderingMode
Fields
Value | Description |
|---|---|
| AnyPlayer | Drawing and rendering is available in the Editor and any player build. |
| DevelopmentPlayer | Drawing and rendering is available in both the Editor and a Development player build. |
| EditorOnly | Drawing and rendering is only available in the Editor and not in a player build. |