_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() | PhysicsShape | inlineprotectedvirtual |
calculateDefaultMoment() | PhysicsShape | inlinevirtual |
containsPoint(const Vec2 &point) const | PhysicsShape | |
create(const Size &size, const PhysicsMaterial &material=PHYSICSSHAPE_MATERIAL_DEFAULT, float border=0, const Vec2 &offset=Vec2::ZERO) | PhysicsShapeEdgeBox | static |
cocos2d::PhysicsShapeEdgePolygon::create(const Vec2 *points, int count, const PhysicsMaterial &material=PHYSICSSHAPE_MATERIAL_DEFAULT, float border=1) | PhysicsShapeEdgePolygon | static |
getArea() const | PhysicsShape | inline |
getBody() const | PhysicsShape | inline |
getCategoryBitmask() const | PhysicsShape | inline |
getCenter() override | PhysicsShapeEdgePolygon | 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 | PhysicsShapeEdgeBox | inlinevirtual |
getPoints(Vec2 *outPoints) const | PhysicsShapeEdgePolygon | |
getPointsCount() const | PhysicsShapeEdgePolygon | |
getPolyonCenter(const Vec2 *points, int count) | PhysicsShape | static |
getReferenceCount() const | Ref | |
getRestitution() const | PhysicsShape | inline |
getTag() const | PhysicsShape | inline |
getType() const | PhysicsShape | inline |
init(const Size &size, const PhysicsMaterial &material=PHYSICSSHAPE_MATERIAL_DEFAULT, float border=1, const Vec2 &offset=Vec2::ZERO) | PhysicsShapeEdgeBox | protected |
cocos2d::PhysicsShapeEdgePolygon::init(const Vec2 *points, int count, const PhysicsMaterial &material=PHYSICSSHAPE_MATERIAL_DEFAULT, float border=1) | PhysicsShapeEdgePolygon | protected |
PhysicsBody class | PhysicsShapeEdgeBox | friend |
PhysicsShape() | PhysicsShape | protected |
PhysicsShapeEdgeBox() | PhysicsShapeEdgeBox | protected |
PhysicsShapeEdgePolygon() | PhysicsShapeEdgePolygon | 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 | PhysicsShapeEdgePolygon | protectedvirtual |
~PhysicsShape()=0 | PhysicsShape | protectedpure virtual |
~PhysicsShapeEdgeBox() | PhysicsShapeEdgeBox | protectedvirtual |
~PhysicsShapeEdgePolygon() | PhysicsShapeEdgePolygon | protectedvirtual |
~Ref() | Ref | virtual |