FixtureDescription class. More...
#include <fixture_description.h>
Public Member Functions | |
Construction | |
| FixtureDescription () | |
| Constructs a null instance. More... | |
| FixtureDescription (const PhysicsWorld &pw) | |
| Constructs a Fixture Description. More... | |
| FixtureDescription (const PhysicsContext &pc) | |
| Constructs a Fixture Description. More... | |
| FixtureDescription (const FixtureDescription ©) | |
| Copy operator. More... | |
| virtual | ~FixtureDescription () |
Attributes | |
| bool | is_null () const |
| Returns true if this object is invalid. More... | |
| void | throw_if_null () const |
| Throw an exception if this object is invalid. More... | |
Operations | |
| void | set_shape (const Shape &shape) |
| Set the shape of the Fixture. More... | |
| void | set_friction (const float friction) |
| The friction coefficient, usually in the range [0,1]. More... | |
| void | set_restitution (const float restitution) |
| The restitution (elasticity) usually in the range [0,1]. More... | |
| void | set_density (const float density) |
| The density, usually in kg/m^2. More... | |
| void | set_as_sensor (const bool value=true) |
| void | set_filter () |
| Contact filtering data. More... | |
| FixtureDescription & | operator= (const FixtureDescription ©) |
Friends | |
| class | Body |
| class | Fixture |
| class | Fixture_Impl |
FixtureDescription class.