A subclass of ChipmunkPolyShape that is added as a static shape when using add: (ChipmunkSpace). More...
#import <ChipmunkShape.h>
Inherits ChipmunkPolyShape.
Additional Inherited Members | |
![]() | |
(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. | |
![]() | |
(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. | |
![]() | |
int | count |
The number of vertexes in this polygon. | |
cpFloat | radius |
Get the rounding radius of the polygon. | |
A subclass of ChipmunkPolyShape that is added as a static shape when using add: (ChipmunkSpace).