Chipmunk2D Pro API Reference  6.2.1
 All Classes Functions Variables Typedefs Properties Groups Pages
List of all members
ChipmunkStaticPolyShape Class Reference

A subclass of ChipmunkPolyShape that is added as a static shape when using add: (ChipmunkSpace). More...

#import <ChipmunkShape.h>

Inherits ChipmunkPolyShape.

Additional Inherited Members

- Instance Methods inherited from ChipmunkPolyShape
(id) - initWithBody:count:verts:offset:
 Initialize a polygon shape from the given vertex and offset from the center of gravity.
 
(id) - initWithBody:count:verts:offset:radius:
 Initialize a polygon shape from the given vertex, offset from the center of gravity and rounding radius.
 
(id) - initBoxWithBody:width:height:
 Initialize a box shape centered on the center of gravity.
 
(id) - initBoxWithBody:bb:
 Initialize a box shape with the given bounding box in body local coordinates.
 
(id) - initBoxWithBody:bb:radius:
 Initialize a box shape with the given bounding box in body local coordinates and rounding radius.
 
(cpVect- getVertex:
 Access the vertexes of this polygon.
 
- Class Methods inherited from ChipmunkPolyShape
(id) + polyWithBody:count:verts:offset:
 Create an autoreleased polygon shape from the given vertexes and offset from the center of gravity.
 
(id) + polyWithBody:count:verts:offset:radius:
 Create an autoreleased polygon shape from the given vertexes, offset from the center of gravity and rounding radius.
 
(id) + boxWithBody:width:height:
 Create an autoreleased box shape centered on the center of gravity.
 
(id) + boxWithBody:bb:
 Create an autoreleased box shape with the given bounding box in body local coordinates.
 
(id) + boxWithBody:bb:radius:
 Create an autoreleased box shape with the given bounding box in body local coordinates and rounding radius.
 
- Properties inherited from ChipmunkPolyShape
int count
 The number of vertexes in this polygon.
 
cpFloat radius
 Get the rounding radius of the polygon.
 

Detailed Description

A subclass of ChipmunkPolyShape that is added as a static shape when using add: (ChipmunkSpace).


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