Opaque collision shape.
More...
#include <shape.hpp>
List of all members.
Public Member Functions |
| operator cpShape * () const |
bool | pointQuery (Vect) const |
bool | segmentQuery (Vect a, Vect b, SegmentQueryInfo *=nullptr) |
void | setFriction (Float) |
void | setElasticity (Float) |
void | setGroup (Group) |
void | setCollisionType (CollisionType) |
CollisionType | getCollisionType () const |
void | setLayers (Layers) |
void | setOwning (bool) |
void | setUserData (DataPointer) |
void | setBody (std::shared_ptr< Body > body) |
DataPointer | getUserData () const |
Protected Member Functions |
| Shape (cpShape *, std::shared_ptr< Body >) |
Protected Attributes |
cpShape * | shape |
Detailed Description
The documentation for this class was generated from the following files: