2014-09-15 23:21:18 +08:00
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @module Animate3D
|
|
|
|
-- @extend ActionInterval
|
|
|
|
-- @parent_module cc
|
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
--
|
|
|
|
-- @function [parent=#Animate3D] setSpeed
|
|
|
|
-- @param self
|
|
|
|
-- @param #float speed
|
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
--
|
|
|
|
-- @function [parent=#Animate3D] setWeight
|
|
|
|
-- @param self
|
|
|
|
-- @param #float weight
|
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- get & set speed, negative speed means playing reverse
|
|
|
|
-- @function [parent=#Animate3D] getSpeed
|
|
|
|
-- @param self
|
|
|
|
-- @return float#float ret (return value: float)
|
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- get & set blend weight, weight must positive
|
|
|
|
-- @function [parent=#Animate3D] getWeight
|
|
|
|
-- @param self
|
|
|
|
-- @return float#float ret (return value: float)
|
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @overload self, cc.Animation3D, float, float
|
|
|
|
-- @overload self, cc.Animation3D
|
|
|
|
-- @function [parent=#Animate3D] create
|
|
|
|
-- @param self
|
|
|
|
-- @param #cc.Animation3D animation
|
|
|
|
-- @param #float fromTime
|
|
|
|
-- @param #float duration
|
2014-10-17 22:56:22 +08:00
|
|
|
-- @return Animate3D#Animate3D ret (return value: cc.Animate3D)
|
2014-09-15 23:21:18 +08:00
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- animate transistion time
|
|
|
|
-- @function [parent=#Animate3D] getTransitionTime
|
|
|
|
-- @param self
|
|
|
|
-- @return float#float ret (return value: float)
|
|
|
|
|
2014-10-17 14:28:36 +08:00
|
|
|
--------------------------------
|
|
|
|
-- 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
|
|
|
|
-- @function [parent=#Animate3D] createWithFrames
|
|
|
|
-- @param self
|
|
|
|
-- @param #cc.Animation3D animation
|
|
|
|
-- @param #int startFrame
|
|
|
|
-- @param #int endFrame
|
|
|
|
-- @param #float frameRate
|
|
|
|
-- @return Animate3D#Animate3D ret (return value: cc.Animate3D)
|
|
|
|
|
2014-09-15 23:21:18 +08:00
|
|
|
--------------------------------
|
|
|
|
--
|
|
|
|
-- @function [parent=#Animate3D] startWithTarget
|
|
|
|
-- @param self
|
|
|
|
-- @param #cc.Node target
|
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
--
|
|
|
|
-- @function [parent=#Animate3D] reverse
|
|
|
|
-- @param self
|
|
|
|
-- @return Animate3D#Animate3D ret (return value: cc.Animate3D)
|
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
--
|
|
|
|
-- @function [parent=#Animate3D] clone
|
|
|
|
-- @param self
|
|
|
|
-- @return Animate3D#Animate3D ret (return value: cc.Animate3D)
|
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
--
|
|
|
|
-- @function [parent=#Animate3D] stop
|
|
|
|
-- @param self
|
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
--
|
|
|
|
-- @function [parent=#Animate3D] update
|
|
|
|
-- @param self
|
|
|
|
-- @param #float t
|
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
--
|
|
|
|
-- @function [parent=#Animate3D] step
|
|
|
|
-- @param self
|
|
|
|
-- @param #float dt
|
|
|
|
|
|
|
|
return nil
|