2014-09-15 23:21:18 +08:00
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @module Animate3D
|
|
|
|
-- @extend ActionInterval
|
|
|
|
-- @parent_module cc
|
|
|
|
|
2015-08-01 18:31:20 +08:00
|
|
|
--------------------------------
|
|
|
|
--
|
|
|
|
-- @function [parent=#Animate3D] setKeyFrameUserInfo
|
|
|
|
-- @param self
|
|
|
|
-- @param #int keyFrame
|
|
|
|
-- @param #map_table userInfo
|
|
|
|
-- @return Animate3D#Animate3D self (return value: cc.Animate3D)
|
|
|
|
|
2014-09-15 23:21:18 +08:00
|
|
|
--------------------------------
|
2015-01-21 14:46:49 +08:00
|
|
|
-- get & set speed, negative speed means playing reverse
|
|
|
|
-- @function [parent=#Animate3D] getSpeed
|
2014-09-15 23:21:18 +08:00
|
|
|
-- @param self
|
2015-01-21 14:46:49 +08:00
|
|
|
-- @return float#float ret (return value: float)
|
2014-09-15 23:21:18 +08:00
|
|
|
|
2015-03-31 18:26:49 +08:00
|
|
|
--------------------------------
|
2015-04-27 15:48:42 +08:00
|
|
|
-- set animate quality
|
|
|
|
-- @function [parent=#Animate3D] setQuality
|
2015-03-31 18:26:49 +08:00
|
|
|
-- @param self
|
2015-04-27 15:48:42 +08:00
|
|
|
-- @param #int quality
|
2015-03-31 18:26:49 +08:00
|
|
|
-- @return Animate3D#Animate3D self (return value: cc.Animate3D)
|
|
|
|
|
2014-09-15 23:21:18 +08:00
|
|
|
--------------------------------
|
|
|
|
--
|
|
|
|
-- @function [parent=#Animate3D] setWeight
|
|
|
|
-- @param self
|
|
|
|
-- @param #float weight
|
2015-01-21 17:33:26 +08:00
|
|
|
-- @return Animate3D#Animate3D self (return value: cc.Animate3D)
|
2014-09-15 23:21:18 +08:00
|
|
|
|
2015-05-05 11:31:53 +08:00
|
|
|
--------------------------------
|
|
|
|
--
|
|
|
|
-- @function [parent=#Animate3D] removeFromMap
|
|
|
|
-- @param self
|
|
|
|
-- @return Animate3D#Animate3D self (return value: cc.Animate3D)
|
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
--
|
|
|
|
-- @function [parent=#Animate3D] initWithFrames
|
|
|
|
-- @param self
|
|
|
|
-- @param #cc.Animation3D animation
|
|
|
|
-- @param #int startFrame
|
|
|
|
-- @param #int endFrame
|
|
|
|
-- @param #float frameRate
|
|
|
|
-- @return bool#bool ret (return value: bool)
|
|
|
|
|
2014-09-15 23:21:18 +08:00
|
|
|
--------------------------------
|
2015-01-21 14:46:49 +08:00
|
|
|
--
|
|
|
|
-- @function [parent=#Animate3D] getOriginInterval
|
2014-09-15 23:21:18 +08:00
|
|
|
-- @param self
|
|
|
|
-- @return float#float ret (return value: float)
|
|
|
|
|
2015-01-21 14:46:49 +08:00
|
|
|
--------------------------------
|
|
|
|
--
|
|
|
|
-- @function [parent=#Animate3D] setSpeed
|
|
|
|
-- @param self
|
|
|
|
-- @param #float speed
|
2015-01-21 17:33:26 +08:00
|
|
|
-- @return Animate3D#Animate3D self (return value: cc.Animate3D)
|
2015-01-21 14:46:49 +08:00
|
|
|
|
2015-05-05 11:31:53 +08:00
|
|
|
--------------------------------
|
|
|
|
-- @overload self, cc.Animation3D, float, float
|
|
|
|
-- @overload self, cc.Animation3D
|
|
|
|
-- @function [parent=#Animate3D] init
|
|
|
|
-- @param self
|
|
|
|
-- @param #cc.Animation3D animation
|
|
|
|
-- @param #float fromTime
|
|
|
|
-- @param #float duration
|
|
|
|
-- @return bool#bool ret (return value: bool)
|
|
|
|
|
2015-01-21 14:46:49 +08:00
|
|
|
--------------------------------
|
|
|
|
-- get & set origin interval
|
|
|
|
-- @function [parent=#Animate3D] setOriginInterval
|
|
|
|
-- @param self
|
|
|
|
-- @param #float interval
|
2015-01-21 17:33:26 +08:00
|
|
|
-- @return Animate3D#Animate3D self (return value: cc.Animate3D)
|
2015-01-21 14:46:49 +08:00
|
|
|
|
2014-09-15 23:21:18 +08:00
|
|
|
--------------------------------
|
|
|
|
-- get & set blend weight, weight must positive
|
|
|
|
-- @function [parent=#Animate3D] getWeight
|
|
|
|
-- @param self
|
|
|
|
-- @return float#float ret (return value: float)
|
|
|
|
|
2015-04-27 15:48:42 +08:00
|
|
|
--------------------------------
|
|
|
|
-- get animate quality
|
|
|
|
-- @function [parent=#Animate3D] getQuality
|
|
|
|
-- @param self
|
|
|
|
-- @return int#int ret (return value: int)
|
|
|
|
|
2014-09-15 23:21:18 +08:00
|
|
|
--------------------------------
|
|
|
|
-- @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
|
|
|
|
|
|
|
--------------------------------
|
2015-03-03 23:15:43 +08:00
|
|
|
-- get animate transition time between 3d animations
|
2014-09-15 23:21:18 +08:00
|
|
|
-- @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)
|
|
|
|
|
2015-03-03 23:15:43 +08:00
|
|
|
--------------------------------
|
|
|
|
-- set animate transition time between 3d animations
|
|
|
|
-- @function [parent=#Animate3D] setTransitionTime
|
|
|
|
-- @param self
|
|
|
|
-- @param #float transTime
|
|
|
|
-- @return Animate3D#Animate3D self (return value: cc.Animate3D)
|
|
|
|
|
2014-09-15 23:21:18 +08:00
|
|
|
--------------------------------
|
|
|
|
--
|
|
|
|
-- @function [parent=#Animate3D] startWithTarget
|
|
|
|
-- @param self
|
|
|
|
-- @param #cc.Node target
|
2015-01-21 17:33:26 +08:00
|
|
|
-- @return Animate3D#Animate3D self (return value: cc.Animate3D)
|
2014-09-15 23:21:18 +08:00
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
--
|
|
|
|
-- @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
|
2015-01-21 17:33:26 +08:00
|
|
|
-- @return Animate3D#Animate3D self (return value: cc.Animate3D)
|
2014-09-15 23:21:18 +08:00
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
--
|
|
|
|
-- @function [parent=#Animate3D] update
|
|
|
|
-- @param self
|
|
|
|
-- @param #float t
|
2015-01-21 17:33:26 +08:00
|
|
|
-- @return Animate3D#Animate3D self (return value: cc.Animate3D)
|
2014-09-15 23:21:18 +08:00
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
--
|
|
|
|
-- @function [parent=#Animate3D] step
|
|
|
|
-- @param self
|
|
|
|
-- @param #float dt
|
2015-01-21 17:33:26 +08:00
|
|
|
-- @return Animate3D#Animate3D self (return value: cc.Animate3D)
|
2014-09-15 23:21:18 +08:00
|
|
|
|
2015-05-05 11:31:53 +08:00
|
|
|
--------------------------------
|
|
|
|
--
|
|
|
|
-- @function [parent=#Animate3D] Animate3D
|
|
|
|
-- @param self
|
|
|
|
-- @return Animate3D#Animate3D self (return value: cc.Animate3D)
|
|
|
|
|
2014-09-15 23:21:18 +08:00
|
|
|
return nil
|