elementDepth
Controls the element depth. When using custom drawing of geometry or primitive shapes there is no reference to the orthogonal axis used with respect to the current PhysicsWorld.transformPlane. The element depth is in world-space and for each transform plan is defined as: Element depth is rendered
Read time 1 minuteLast updated 7 hours ago
Definition
- Type: Property
- Namespace: Unity.U2D.Physics
- Assembly: UnityEngine.PhysicsCore2DModule
public float elementDepth { get; set; }