| Parameter | Description |
|---|---|
| position | The 3D position to take the draw depth from. |
Sets the draw depth from a 3D position, using the axis that matches the current transform plane.
The relevant axis is taken from the position using the current PhysicsWorld.transformPlane. If PhysicsWorld.TransformPlane.Custom is used, the draw depth is set to zero. See PhysicsWorld.drawDepth.