Jolt Physics
A multi core friendly Game Physics Engine
Loading...
Searching...
No Matches
BodyManager::DrawSettings Struct Reference

Draw settings. More...

#include <BodyManager.h>

Public Attributes

bool mDrawGetSupportFunction = false
 Draw the GetSupport() function, used for convex collision detection. More...
 
bool mDrawSupportDirection = false
 When drawing the support function, also draw which direction mapped to a specific support point. More...
 
bool mDrawGetSupportingFace = false
 Draw the faces that were found colliding during collision detection. More...
 
bool mDrawShape = true
 Draw the shapes of all bodies. More...
 
bool mDrawShapeWireframe = false
 When mDrawShape is true and this is true, the shapes will be drawn in wireframe instead of solid. More...
 
EShapeColor mDrawShapeColor = EShapeColor::MotionTypeColor
 Coloring scheme to use for shapes. More...
 
bool mDrawBoundingBox = false
 Draw a bounding box per body. More...
 
bool mDrawCenterOfMassTransform = false
 Draw the center of mass for each body. More...
 
bool mDrawWorldTransform = false
 Draw the world transform (which can be different than the center of mass) for each body. More...
 
bool mDrawVelocity = false
 Draw the velocity vector for each body. More...
 
bool mDrawMassAndInertia = false
 Draw the mass and inertia (as the box equivalent) for each body. More...
 
bool mDrawSleepStats = false
 Draw stats regarding the sleeping algorithm of each body. More...
 
bool mDrawSoftBodyVertices = false
 Draw the vertices of soft bodies. More...
 
bool mDrawSoftBodyVertexVelocities = false
 Draw the velocities of the vertices of soft bodies. More...
 
bool mDrawSoftBodyEdgeConstraints = false
 Draw the edge constraints of soft bodies. More...
 
bool mDrawSoftBodyBendConstraints = false
 Draw the bend constraints of soft bodies. More...
 
bool mDrawSoftBodyVolumeConstraints = false
 Draw the volume constraints of soft bodies. More...
 
bool mDrawSoftBodySkinConstraints = false
 Draw the skin constraints of soft bodies. More...
 
bool mDrawSoftBodyLRAConstraints = false
 Draw the LRA constraints of soft bodies. More...
 
bool mDrawSoftBodyPredictedBounds = false
 Draw the predicted bounds of soft bodies. More...
 

Detailed Description

Draw settings.

Member Data Documentation

◆ mDrawBoundingBox

bool BodyManager::DrawSettings::mDrawBoundingBox = false

Draw a bounding box per body.

◆ mDrawCenterOfMassTransform

bool BodyManager::DrawSettings::mDrawCenterOfMassTransform = false

Draw the center of mass for each body.

◆ mDrawGetSupportFunction

bool BodyManager::DrawSettings::mDrawGetSupportFunction = false

Draw the GetSupport() function, used for convex collision detection.

◆ mDrawGetSupportingFace

bool BodyManager::DrawSettings::mDrawGetSupportingFace = false

Draw the faces that were found colliding during collision detection.

◆ mDrawMassAndInertia

bool BodyManager::DrawSettings::mDrawMassAndInertia = false

Draw the mass and inertia (as the box equivalent) for each body.

◆ mDrawShape

bool BodyManager::DrawSettings::mDrawShape = true

Draw the shapes of all bodies.

◆ mDrawShapeColor

EShapeColor BodyManager::DrawSettings::mDrawShapeColor = EShapeColor::MotionTypeColor

Coloring scheme to use for shapes.

◆ mDrawShapeWireframe

bool BodyManager::DrawSettings::mDrawShapeWireframe = false

When mDrawShape is true and this is true, the shapes will be drawn in wireframe instead of solid.

◆ mDrawSleepStats

bool BodyManager::DrawSettings::mDrawSleepStats = false

Draw stats regarding the sleeping algorithm of each body.

◆ mDrawSoftBodyBendConstraints

bool BodyManager::DrawSettings::mDrawSoftBodyBendConstraints = false

Draw the bend constraints of soft bodies.

◆ mDrawSoftBodyEdgeConstraints

bool BodyManager::DrawSettings::mDrawSoftBodyEdgeConstraints = false

Draw the edge constraints of soft bodies.

◆ mDrawSoftBodyLRAConstraints

bool BodyManager::DrawSettings::mDrawSoftBodyLRAConstraints = false

Draw the LRA constraints of soft bodies.

◆ mDrawSoftBodyPredictedBounds

bool BodyManager::DrawSettings::mDrawSoftBodyPredictedBounds = false

Draw the predicted bounds of soft bodies.

◆ mDrawSoftBodySkinConstraints

bool BodyManager::DrawSettings::mDrawSoftBodySkinConstraints = false

Draw the skin constraints of soft bodies.

◆ mDrawSoftBodyVertexVelocities

bool BodyManager::DrawSettings::mDrawSoftBodyVertexVelocities = false

Draw the velocities of the vertices of soft bodies.

◆ mDrawSoftBodyVertices

bool BodyManager::DrawSettings::mDrawSoftBodyVertices = false

Draw the vertices of soft bodies.

◆ mDrawSoftBodyVolumeConstraints

bool BodyManager::DrawSettings::mDrawSoftBodyVolumeConstraints = false

Draw the volume constraints of soft bodies.

◆ mDrawSupportDirection

bool BodyManager::DrawSettings::mDrawSupportDirection = false

When drawing the support function, also draw which direction mapped to a specific support point.

◆ mDrawVelocity

bool BodyManager::DrawSettings::mDrawVelocity = false

Draw the velocity vector for each body.

◆ mDrawWorldTransform

bool BodyManager::DrawSettings::mDrawWorldTransform = false

Draw the world transform (which can be different than the center of mass) for each body.


The documentation for this struct was generated from the following file: