-------------------------------- -- @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 -- @return Animate3D#Animate3D ret (return value: cc.Animate3D) -------------------------------- -- animate transistion time -- @function [parent=#Animate3D] getTransitionTime -- @param self -- @return float#float ret (return value: float) -------------------------------- -- create Animate3D by frame section, [startFrame, endFrame)
-- param animation used to generate animate3D
-- param startFrame
-- param endFrame
-- param frameRate default is 30 per second
-- 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) -------------------------------- -- -- @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