summaryrefslogtreecommitdiff
path: root/meta/3rd/Cocos4.0/cc.Animate3D.lua
blob: 5114d7126b226837eb042c3fe7588b2854c4c1d5 (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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108

---@class cc.Animate3D :cc.ActionInterval
local Animate3D={ }
cc.Animate3D=Animate3D




---* 
---@param keyFrame int
---@param userInfo map_table
---@return self
function Animate3D:setKeyFrameUserInfo (keyFrame,userInfo) end
---* get & set speed, negative speed means playing reverse 
---@return float
function Animate3D:getSpeed () end
---* set animate quality
---@param quality int
---@return self
function Animate3D:setQuality (quality) end
---* 
---@param weight float
---@return self
function Animate3D:setWeight (weight) end
---* 
---@return self
function Animate3D:removeFromMap () end
---* 
---@param animation cc.Animation3D
---@param startFrame int
---@param endFrame int
---@param frameRate float
---@return boolean
function Animate3D:initWithFrames (animation,startFrame,endFrame,frameRate) end
---* 
---@return float
function Animate3D:getOriginInterval () end
---* 
---@param speed float
---@return self
function Animate3D:setSpeed (speed) end
---@overload fun(cc.Animation3D:cc.Animation3D,float:float,float:float):self
---@overload fun(cc.Animation3D:cc.Animation3D):self
---@param animation cc.Animation3D
---@param fromTime float
---@param duration float
---@return boolean
function Animate3D:init (animation,fromTime,duration) end
---* get & set origin interval
---@param interval float
---@return self
function Animate3D:setOriginInterval (interval) end
---* get & set blend weight, weight must positive
---@return float
function Animate3D:getWeight () end
---* get animate quality
---@return int
function Animate3D:getQuality () end
---@overload fun(cc.Animation3D:cc.Animation3D,float:float,float:float):self
---@overload fun(cc.Animation3D:cc.Animation3D):self
---@param animation cc.Animation3D
---@param fromTime float
---@param duration float
---@return self
function Animate3D:create (animation,fromTime,duration) end
---*  get animate transition time between 3d animations 
---@return float
function Animate3D:getTransitionTime () end
---* create Animate3D by frame section, [startFrame, endFrame)<br>
---* param animation used to generate animate3D<br>
---* param startFrame<br>
---* param endFrame<br>
---* param frameRate default is 30 per second<br>
---* return Animate3D created using animate
---@param animation cc.Animation3D
---@param startFrame int
---@param endFrame int
---@param frameRate float
---@return self
function Animate3D:createWithFrames (animation,startFrame,endFrame,frameRate) end
---*  set animate transition time between 3d animations 
---@param transTime float
---@return self
function Animate3D:setTransitionTime (transTime) end
---* 
---@param target cc.Node
---@return self
function Animate3D:startWithTarget (target) end
---* 
---@return self
function Animate3D:reverse () end
---* 
---@return self
function Animate3D:clone () end
---* 
---@return self
function Animate3D:stop () end
---* 
---@param t float
---@return self
function Animate3D:update (t) end
---* 
---@param dt float
---@return self
function Animate3D:step (dt) end
---* 
---@return self
function Animate3D:Animate3D () end