#include <P2Shape.hpp>
Inherited by s3d::P2Circle, s3d::P2Line, s3d::P2LineString, s3d::P2Polygon, s3d::P2Quad, s3d::P2Rect, and s3d::P2Triangle.
◆ ~P2Shape()
| virtual s3d::P2Shape::~P2Shape |
( |
| ) |
|
|
virtualdefault |
◆ draw()
| virtual const P2Shape& s3d::P2Shape::draw |
( |
const ColorF & |
color | ) |
const |
|
pure virtual |
◆ drawFrame()
| virtual const P2Shape& s3d::P2Shape::drawFrame |
( |
double |
thickness, |
|
|
const ColorF & |
color |
|
) |
| const |
|
pure virtual |
◆ drawWireframe()
| virtual const P2Shape& s3d::P2Shape::drawWireframe |
( |
double |
thickness, |
|
|
const ColorF & |
color |
|
) |
| const |
|
pure virtual |
◆ getDensity()
| double s3d::P2Shape::getDensity |
( |
| ) |
const |
|
noexcept |
◆ getFilter()
| P2Filter s3d::P2Shape::getFilter |
( |
| ) |
const |
|
noexcept |
◆ getFriction()
| double s3d::P2Shape::getFriction |
( |
| ) |
const |
|
noexcept |
◆ getRestitution()
| double s3d::P2Shape::getRestitution |
( |
| ) |
const |
|
noexcept |
◆ getRestitutionThreshold()
| double s3d::P2Shape::getRestitutionThreshold |
( |
| ) |
const |
|
noexcept |
◆ getShapeType()
| virtual P2ShapeType s3d::P2Shape::getShapeType |
( |
| ) |
const |
|
pure virtualnoexcept |
◆ setDensity()
| void s3d::P2Shape::setDensity |
( |
double |
density | ) |
|
|
noexcept |
◆ setFilter()
| void s3d::P2Shape::setFilter |
( |
const P2Filter & |
filter | ) |
|
|
noexcept |
◆ setFriction()
| void s3d::P2Shape::setFriction |
( |
double |
friction | ) |
|
|
noexcept |
◆ setRestitution()
| void s3d::P2Shape::setRestitution |
( |
double |
restitution | ) |
|
|
noexcept |
◆ setRestitutionThreshold()
| void s3d::P2Shape::setRestitutionThreshold |
( |
double |
restitutionThreshold | ) |
|
|
noexcept |
◆ m_fixtures
| Array<b2Fixture*> s3d::P2Shape::m_fixtures |
|
protected |
The documentation for this class was generated from the following file: