Chipmunk2D Pro API Reference  7.0.1
 All Classes Functions Variables Typedefs Enumerations Enumerator Properties Groups Pages
Public Attributes | List of all members
cpSpaceDebugDrawOptions Struct Reference

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

#include <cpSpace.h>

Public Attributes

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.
 
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: