_area | PhysicsShape | protected |
_body | PhysicsShape | protected |
_categoryBitmask | PhysicsShape | protected |
_collisionBitmask | PhysicsShape | protected |
_contactTestBitmask | PhysicsShape | protected |
_cpShapes | PhysicsShape | protected |
_group | PhysicsShape | protected |
_mass | PhysicsShape | protected |
_material | PhysicsShape | protected |
_moment | PhysicsShape | protected |
_newScaleX | PhysicsShape | protected |
_newScaleY | PhysicsShape | protected |
_referenceCount | Ref | protected |
_scaleX | PhysicsShape | protected |
_scaleY | PhysicsShape | protected |
_tag | PhysicsShape | protected |
_type | PhysicsShape | protected |
addShape(cpShape *shape) | PhysicsShape | protected |
autorelease() | Ref | |
calculateArea(const Vec2 *points, int count) | PhysicsShapePolygon | static |
calculateArea() override | PhysicsShapePolygon | protectedvirtual |
calculateDefaultMoment() override | PhysicsShapePolygon | virtual |
calculateMoment(float mass, const Vec2 *points, int count, const Vec2 &offset=Vec2::ZERO) | PhysicsShapePolygon | static |
containsPoint(const Vec2 &point) const | PhysicsShape | |
create(const Size &size, const PhysicsMaterial &material=PHYSICSSHAPE_MATERIAL_DEFAULT, const Vec2 &offset=Vec2::ZERO) | PhysicsShapeBox | static |
cocos2d::PhysicsShapePolygon::create(const Vec2 *points, int count, const PhysicsMaterial &material=PHYSICSSHAPE_MATERIAL_DEFAULT, const Vec2 &offset=Vec2::ZERO) | PhysicsShapePolygon | static |
getArea() const | PhysicsShape | inline |
getBody() const | PhysicsShape | inline |
getCategoryBitmask() const | PhysicsShape | inline |
getCenter() override | PhysicsShapePolygon | virtual |
getCollisionBitmask() const | PhysicsShape | inline |
getContactTestBitmask() const | PhysicsShape | inline |
getDensity() const | PhysicsShape | inline |
getFriction() const | PhysicsShape | inline |
getGroup() | PhysicsShape | inline |
getMass() const | PhysicsShape | inline |
getMaterial() const | PhysicsShape | inline |
getMoment() const | PhysicsShape | inline |
getOffset() override | PhysicsShapeBox | inlinevirtual |
getPoint(int i) const | PhysicsShapePolygon | |
getPoints(Vec2 *outPoints) const | PhysicsShapePolygon | |
getPointsCount() const | PhysicsShapePolygon | |
getPolyonCenter(const Vec2 *points, int count) | PhysicsShape | static |
getReferenceCount() const | Ref | |
getRestitution() const | PhysicsShape | inline |
getSize() const | PhysicsShapeBox | |
getTag() const | PhysicsShape | inline |
getType() const | PhysicsShape | inline |
init(const Size &size, const PhysicsMaterial &material=PHYSICSSHAPE_MATERIAL_DEFAULT, const Vec2 &offset=Vec2::ZERO) | PhysicsShapeBox | protected |
cocos2d::PhysicsShapePolygon::init(const Vec2 *points, int count, const PhysicsMaterial &material=PHYSICSSHAPE_MATERIAL_DEFAULT, const Vec2 &offset=Vec2::ZERO) | PhysicsShapePolygon | protected |
PhysicsShape() | PhysicsShape | protected |
PhysicsShapeBox() | PhysicsShapeBox | protected |
PhysicsShapePolygon() | PhysicsShapePolygon | protected |
recenterPoints(Vec2 *points, int count, const Vec2 ¢er=Vec2::ZERO) | PhysicsShape | static |
Ref() | Ref | protected |
release() | Ref | |
retain() | Ref | |
setBody(PhysicsBody *body) | PhysicsShape | protected |
setCategoryBitmask(int bitmask) | PhysicsShape | inline |
setCollisionBitmask(int bitmask) | PhysicsShape | inline |
setContactTestBitmask(int bitmask) | PhysicsShape | inline |
setDensity(float density) | PhysicsShape | |
setFriction(float friction) | PhysicsShape | |
setGroup(int group) | PhysicsShape | |
setMass(float mass) | PhysicsShape | |
setMaterial(const PhysicsMaterial &material) | PhysicsShape | |
setMoment(float moment) | PhysicsShape | |
setRestitution(float restitution) | PhysicsShape | |
setScale(float scaleX, float scaleY) | PhysicsShape | protectedvirtual |
setTag(int tag) | PhysicsShape | inline |
Type enum name | PhysicsShape | |
updateScale() override | PhysicsShapePolygon | protectedvirtual |
~PhysicsShape()=0 | PhysicsShape | protectedpure virtual |
~PhysicsShapeBox() | PhysicsShapeBox | protectedvirtual |
~PhysicsShapePolygon() | PhysicsShapePolygon | protectedvirtual |
~Ref() | Ref | virtual |