summaryrefslogtreecommitdiff
path: root/meta/3rd/Cocos4.0/cc.Animation3D.lua
blob: be3af7855de51f203b2f767c8f6f570b0587dda7 (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

---@class cc.Animation3D :cc.Ref
local Animation3D={ }
cc.Animation3D=Animation3D




---* init Animation3D with file name and animation name
---@param filename string
---@param animationName string
---@return boolean
function Animation3D:initWithFile (filename,animationName) end
---* init Animation3D from bundle data
---@param data cc.Animation3DData
---@return boolean
function Animation3D:init (data) end
---* get duration
---@return float
function Animation3D:getDuration () end
---* read all animation or only the animation with given animationName? animationName == "" read the first.
---@param filename string
---@param animationName string
---@return self
function Animation3D:create (filename,animationName) end
---* 
---@return self
function Animation3D:Animation3D () end