42 lines
1.2 KiB
Lua
42 lines
1.2 KiB
Lua
---@meta
|
|
|
|
---@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 |