summaryrefslogtreecommitdiff
path: root/meta/3rd/Cocos4.0/cc.Physics3DObject.lua
blob: 6ec5294449bf9078676fe4eba8f970e04e84eeb1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
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