-------------------------------- -- @module PhysicsShape -- @extend Ref -- @parent_module cc -------------------------------- -- @function [parent=#PhysicsShape] getFriction -- @param self -- @return float#float ret (return value: float) -------------------------------- -- @function [parent=#PhysicsShape] setGroup -- @param self -- @param #int int -------------------------------- -- @function [parent=#PhysicsShape] setDensity -- @param self -- @param #float float -------------------------------- -- @function [parent=#PhysicsShape] getMass -- @param self -- @return float#float ret (return value: float) -------------------------------- -- @function [parent=#PhysicsShape] getMaterial -- @param self -- @return PhysicsMaterial#PhysicsMaterial ret (return value: cc.PhysicsMaterial) -------------------------------- -- @function [parent=#PhysicsShape] getCollisionBitmask -- @param self -- @return int#int ret (return value: int) -------------------------------- -- @function [parent=#PhysicsShape] getArea -- @param self -- @return float#float ret (return value: float) -------------------------------- -- @function [parent=#PhysicsShape] setCategoryBitmask -- @param self -- @param #int int -------------------------------- -- @function [parent=#PhysicsShape] getGroup -- @param self -- @return int#int ret (return value: int) -------------------------------- -- @function [parent=#PhysicsShape] setMoment -- @param self -- @param #float float -------------------------------- -- @function [parent=#PhysicsShape] containsPoint -- @param self -- @param #vec2_table vec2 -- @return bool#bool ret (return value: bool) -------------------------------- -- @function [parent=#PhysicsShape] getCategoryBitmask -- @param self -- @return int#int ret (return value: int) -------------------------------- -- @function [parent=#PhysicsShape] getType -- @param self -- @return int#int ret (return value: int) -------------------------------- -- @function [parent=#PhysicsShape] getContactTestBitmask -- @param self -- @return int#int ret (return value: int) -------------------------------- -- @function [parent=#PhysicsShape] getCenter -- @param self -- @return vec2_table#vec2_table ret (return value: vec2_table) -------------------------------- -- @function [parent=#PhysicsShape] getDensity -- @param self -- @return float#float ret (return value: float) -------------------------------- -- @function [parent=#PhysicsShape] setMass -- @param self -- @param #float float -------------------------------- -- @function [parent=#PhysicsShape] getTag -- @param self -- @return int#int ret (return value: int) -------------------------------- -- @function [parent=#PhysicsShape] calculateDefaultMoment -- @param self -- @return float#float ret (return value: float) -------------------------------- -- @function [parent=#PhysicsShape] setCollisionBitmask -- @param self -- @param #int int -------------------------------- -- @function [parent=#PhysicsShape] getMoment -- @param self -- @return float#float ret (return value: float) -------------------------------- -- @function [parent=#PhysicsShape] getOffset -- @param self -- @return vec2_table#vec2_table ret (return value: vec2_table) -------------------------------- -- @function [parent=#PhysicsShape] getRestitution -- @param self -- @return float#float ret (return value: float) -------------------------------- -- @function [parent=#PhysicsShape] setFriction -- @param self -- @param #float float -------------------------------- -- @function [parent=#PhysicsShape] setMaterial -- @param self -- @param #cc.PhysicsMaterial physicsmaterial -------------------------------- -- @function [parent=#PhysicsShape] setTag -- @param self -- @param #int int -------------------------------- -- @function [parent=#PhysicsShape] setContactTestBitmask -- @param self -- @param #int int -------------------------------- -- @function [parent=#PhysicsShape] setRestitution -- @param self -- @param #float float -------------------------------- -- @function [parent=#PhysicsShape] getBody -- @param self -- @return PhysicsBody#PhysicsBody ret (return value: cc.PhysicsBody) return nil