Cocos2d-x  v3.15
PhysicsShapePolygon Member List

This is the complete list of members for PhysicsShapePolygon, including all inherited members.

_IDRef
_luaIDRef
_rootedRef
_scriptObjectRef
autorelease()Ref
calculateArea(const Vec2 *points, int count)PhysicsShapePolygonstatic
calculateDefaultMoment() overridePhysicsShapePolygonvirtual
calculateMoment(float mass, const Vec2 *points, int count, const Vec2 &offset=Vec2::ZERO, float radius=0.0f)PhysicsShapePolygonstatic
containsPoint(const Vec2 &point) constPhysicsShape
create(const Vec2 *points, int count, const PhysicsMaterial &material=PHYSICSSHAPE_MATERIAL_DEFAULT, const Vec2 &offset=Vec2::ZERO, float radius=0.0f)PhysicsShapePolygonstatic
getArea() constPhysicsShapeinline
getBody() constPhysicsShapeinline
getCategoryBitmask() constPhysicsShapeinline
getCenter() overridePhysicsShapePolygonvirtual
getCollisionBitmask() constPhysicsShapeinline
getContactTestBitmask() constPhysicsShapeinline
getDensity() constPhysicsShapeinline
getFriction() constPhysicsShapeinline
getGroup()PhysicsShapeinline
getMass() constPhysicsShapeinline
getMaterial() constPhysicsShapeinline
getMoment() constPhysicsShapeinline
getOffset()PhysicsShapeinlinevirtual
getPoint(int i) constPhysicsShapePolygon
getPoints(Vec2 *outPoints) constPhysicsShapePolygon
getPointsCount() constPhysicsShapePolygon
getPolygonCenter(const Vec2 *points, int count)PhysicsShapestatic
getPolyonCenter(const Vec2 *points, int count)PhysicsShapestatic
getReferenceCount() constRef
getRestitution() constPhysicsShapeinline
getTag() constPhysicsShapeinline
getType() constPhysicsShapeinline
recenterPoints(Vec2 *points, int count, const Vec2 &center=Vec2::ZERO)PhysicsShapestatic
release()Ref
retain()Ref
setCategoryBitmask(int bitmask)PhysicsShapeinline
setCollisionBitmask(int bitmask)PhysicsShapeinline
setContactTestBitmask(int bitmask)PhysicsShapeinline
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
setTag(int tag)PhysicsShapeinline
Type enum namePhysicsShape
~Ref()Refvirtual