Lysa  0.0
Lysa 3D Engine
DebugConfig Struct Reference

Detailed Description

Configuration of the in-game debug

Public Attributes

bool enabled {false}
 Enable the debug visualization. More...
 
bool displayAtStartup {true}
 If the debug renderer is enabled, display the debug at startup. More...
 
bool depthTestEnable {true}
 Draw with depth-testing. More...
 
bool drawCoordinateSystem {false}
 Draw coordinate system (x = red, y = green, z = blue) More...
 
float coordinateSystemScale {1.0f}
 Coordinate system draw scale. More...
 
bool drawRayCast {false}
 Draw all the rays of the RayCast objects. More...
 
float4 rayCastColor {0.0f, 0.5f, 1.0f, 1.0f}
 Color for the non-colliding rays. More...
 
float4 rayCastCollidingColor {0.95f, 0.275f, 0.76f, 1.0f}
 Color for the colliding rays. More...
 
bool drawShape {true}
 Draw the collision shapes of all collision objects. More...
 
DebugShapeColor shapeColor {DebugShapeColor::ShapeTypeColor}
 Coloring scheme to use for collision shapes. More...
 
bool drawBoundingBox {false}
 Draw a bounding box per collision object. More...
 
bool drawVelocity {false}
 Draw the velocity vectors. More...
 
bool drawCenterOfMass {false}
 Draw the center of mass for each collision object. More...
 

Member Data Documentation

float coordinateSystemScale {1.0f}

Coordinate system draw scale.

bool depthTestEnable {true}

Draw with depth-testing.

bool displayAtStartup {true}

If the debug renderer is enabled, display the debug at startup.

bool drawBoundingBox {false}

Draw a bounding box per collision object.

bool drawCenterOfMass {false}

Draw the center of mass for each collision object.

bool drawCoordinateSystem {false}

Draw coordinate system (x = red, y = green, z = blue)

bool drawRayCast {false}

Draw all the rays of the RayCast objects.

bool drawShape {true}

Draw the collision shapes of all collision objects.

bool drawVelocity {false}

Draw the velocity vectors.

bool enabled {false}

Enable the debug visualization.

float4 rayCastCollidingColor {0.95f, 0.275f, 0.76f, 1.0f}

Color for the colliding rays.

float4 rayCastColor {0.0f, 0.5f, 1.0f, 1.0f}

Color for the non-colliding rays.

DebugShapeColor shapeColor {DebugShapeColor::ShapeTypeColor}

Coloring scheme to use for collision shapes.