Munk2D Documentation  8.x.x
Loading...
Searching...
No Matches
cpSpaceDebugDrawOptions Struct Reference

Struct used with cpSpaceDebugDraw() containing drawing callbacks and other drawing settings. More...

#include <cpSpace.h>

Data Fields

cpSpaceDebugDrawCircleImpl drawCircle
 Function that will be invoked to draw circles.
 
cpSpaceDebugDrawSegmentImpl drawSegment
 Function that will be invoked to draw line segments.
 
cpSpaceDebugDrawFatSegmentImpl drawFatSegment
 Function that will be invoked to draw thick line segments.
 
cpSpaceDebugDrawPolygonImpl drawPolygon
 Function that will be invoked to draw convex polygons.
 
cpSpaceDebugDrawDotImpl drawDot
 Function that will be invoked to draw dots.
 
cpSpaceDebugDrawFlags flags
 Flags that request which things to draw (collision shapes, constraints, contact points).
 
cpSpaceDebugColor shapeOutlineColor
 Outline color passed to the drawing function.
 
cpSpaceDebugDrawColorForShapeImpl colorForShape
 Function that decides what fill color to draw shapes using.
 
cpSpaceDebugColor constraintColor
 Color passed to drawing functions for constraints.
 
cpSpaceDebugColor collisionPointColor
 Color passed to drawing functions for collision points.
 
cpTransform transform
 Transform used to transform the things to draw.
 
cpDataPointer data
 User defined context pointer passed to all of the callback functions as the 'data' argument.
 

Detailed Description

Struct used with cpSpaceDebugDraw() containing drawing callbacks and other drawing settings.


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