summaryrefslogtreecommitdiff
path: root/meta/3rd/Cocos4.0/cc.NavMeshObstacle.lua
blob: ac7c2458ab11063ba18b80749afa0f0683ff1ec0 (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
42
43
44
45
46
47
48
49
50
51

---@class cc.NavMeshObstacle :cc.Component
local NavMeshObstacle={ }
cc.NavMeshObstacle=NavMeshObstacle




---* 
---@return int
function NavMeshObstacle:getSyncFlag () end
---* 
---@param radius float
---@param height float
---@return boolean
function NavMeshObstacle:initWith (radius,height) end
---*  synchronize parameter to obstacle. 
---@return self
function NavMeshObstacle:syncToObstacle () end
---*  synchronize parameter to node. 
---@return self
function NavMeshObstacle:syncToNode () end
---*  Get height of obstacle 
---@return float
function NavMeshObstacle:getHeight () end
---* synchronization between node and obstacle is time consuming, you can skip some synchronization using this function
---@param flag int
---@return self
function NavMeshObstacle:setSyncFlag (flag) end
---*  Get radius of obstacle 
---@return float
function NavMeshObstacle:getRadius () end
---* Create obstacle, shape is cylinder<br>
---* param radius The radius of obstacle.<br>
---* param height The height of obstacle.
---@param radius float
---@param height float
---@return self
function NavMeshObstacle:create (radius,height) end
---* 
---@return string
function NavMeshObstacle:getNavMeshObstacleComponentName () end
---* 
---@return self
function NavMeshObstacle:onEnter () end
---* 
---@return self
function NavMeshObstacle:onExit () end
---* 
---@return self
function NavMeshObstacle:NavMeshObstacle () end