diff options
Diffstat (limited to 'meta/3rd/Cocos4.0/cc.Physics3DObject.lua')
-rw-r--r-- | meta/3rd/Cocos4.0/cc.Physics3DObject.lua | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/meta/3rd/Cocos4.0/cc.Physics3DObject.lua b/meta/3rd/Cocos4.0/cc.Physics3DObject.lua new file mode 100644 index 00000000..6ec52944 --- /dev/null +++ b/meta/3rd/Cocos4.0/cc.Physics3DObject.lua @@ -0,0 +1,41 @@ + +---@class cc.Physics3DObject :cc.Ref +local Physics3DObject={ } +cc.Physics3DObject=Physics3DObject + + + + +---* Set the user data. +---@param userData void +---@return self +function Physics3DObject:setUserData (userData) end +---* Get the user data. +---@return void +function Physics3DObject:getUserData () end +---* Get the Physics3DObject Type. +---@return int +function Physics3DObject:getObjType () end +---* Internal method. Set the pointer of Physics3DWorld. +---@param world cc.Physics3DWorld +---@return self +function Physics3DObject:setPhysicsWorld (world) end +---* Get the world matrix of Physics3DObject. +---@return mat4_table +function Physics3DObject:getWorldTransform () end +---* Get the pointer of Physics3DWorld. +---@return cc.Physics3DWorld +function Physics3DObject:getPhysicsWorld () end +---* Set the mask of Physics3DObject. +---@param mask unsigned_int +---@return self +function Physics3DObject:setMask (mask) end +---* Get the collision callback function. +---@return function +function Physics3DObject:getCollisionCallback () end +---* Get the mask of Physics3DObject. +---@return unsigned_int +function Physics3DObject:getMask () end +---* Check has collision callback function. +---@return boolean +function Physics3DObject:needCollisionCallback () end
\ No newline at end of file |