Fixture class.
More...
#include <fixture.h>
| int clan::Fixture::get_id |
( |
| ) |
const |
Return the world's id of the fixture.
| Body& clan::Fixture::get_owner_body |
( |
| ) |
const |
Return the body that this fixture is owned by.
| bool clan::Fixture::is_dummy |
( |
| ) |
const |
Returns true if this fixture is a dummy fixture.
| bool clan::Fixture::is_null |
( |
| ) |
const |
|
inline |
Returns true if this object is invalid.
| bool clan::Fixture::is_sensor |
( |
| ) |
const |
| void clan::Fixture::kill |
( |
| ) |
|
Removes the fixture from the simulation.
| void clan::Fixture::set_as_sensor |
( |
const bool |
value = true | ) |
|
Set the fixture as a sensor.
Signal emitted when a collision with other fixture occurs.
- Returns
- Signal_v1<Fixture>
Signal emitted when a collision with other fixture ends.
- Returns
- Signal_v1<Fixture>
| Signal_v0& clan::Fixture::sig_fixture_deletion |
( |
| ) |
|
Signal emitted when the fixture is deleted.
- Returns
- Signal_v0
| bool clan::Fixture::test_point |
( |
const Vec2f & |
p | ) |
const |
Checks given point for collision with the fixture.
| void clan::Fixture::throw_if_null |
( |
| ) |
const |
Throw an exception if this object is invalid.
| friend class Fixture_Impl |
|
friend |
| friend class PhysicsContext_Impl |
|
friend |
| friend class PhysicsListener |
|
friend |
| friend class PhysicsQueryAssistant_Impl |
|
friend |
The documentation for this class was generated from the following file: