Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


PhysicsWorld.DrawOptions

Draw Options limits what gets drawn to a broad selection.
Read time 1 minuteLast updated 12 days ago

Definition

[Flags]public enum PhysicsWorld.DrawOptions

Fields

Value

Description

AllBodiesDraw all bodies in the world.
AllContactForcesDraw all the contact forces in the world.
AllContactFrictionDraw all the contact friction (tangent) in the world.
AllContactNormalDraw all the contact normals in the world.
AllContactPointsDraw all the contact points in the world.
AllCustomDraw all the custom drawing.
AllJointsDraw all the joints in the world.
AllShapeBoundsDraw all the shape bounds in the world.
AllShapesDraw all the shapes in the world.
AllSolverIslandsDraw all the solver islands in the world.
DefaultAllThe default drawing when drawing all. Draw all the shapes, joints and custom drawing in the world.
DefaultSelectedThe default drawing when drawing selections. Draw selected shapes, joints and custom drawing in the world.
OffNo drawing.
SelectedBodiesDraw the selected bodies.
SelectedJointsDraw the selected joints.
SelectedShapeBoundsDraw the selected shape bounds.
SelectedShapesDraw the selected shapes.