2014-03-10 14:04:58 +08:00
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @module FadeTo
|
2014-03-20 10:21:28 +08:00
|
|
|
-- @extend ActionInterval
|
2014-06-25 17:36:50 +08:00
|
|
|
-- @parent_module cc
|
2014-03-18 15:55:30 +08:00
|
|
|
|
2015-05-05 11:31:53 +08:00
|
|
|
--------------------------------
|
|
|
|
-- initializes the action with duration and opacity <br>
|
|
|
|
-- param duration in seconds
|
|
|
|
-- @function [parent=#FadeTo] initWithDuration
|
|
|
|
-- @param self
|
|
|
|
-- @param #float duration
|
|
|
|
-- @param #unsigned char opacity
|
|
|
|
-- @return bool#bool ret (return value: bool)
|
|
|
|
|
2014-03-10 14:04:58 +08:00
|
|
|
--------------------------------
|
2015-03-18 22:02:42 +08:00
|
|
|
-- Creates an action with duration and opacity.<br>
|
|
|
|
-- param duration Duration time, in seconds.<br>
|
|
|
|
-- param opacity A certain opacity, the range is from 0 to 255.<br>
|
|
|
|
-- return An autoreleased FadeTo object.
|
2014-03-10 14:04:58 +08:00
|
|
|
-- @function [parent=#FadeTo] create
|
|
|
|
-- @param self
|
2014-09-02 13:45:07 +08:00
|
|
|
-- @param #float duration
|
|
|
|
-- @param #unsigned char opacity
|
2014-03-10 14:04:58 +08:00
|
|
|
-- @return FadeTo#FadeTo ret (return value: cc.FadeTo)
|
|
|
|
|
2014-03-18 15:55:30 +08:00
|
|
|
--------------------------------
|
2014-09-02 13:45:07 +08:00
|
|
|
--
|
2014-03-18 15:55:30 +08:00
|
|
|
-- @function [parent=#FadeTo] startWithTarget
|
|
|
|
-- @param self
|
2014-09-02 13:45:07 +08:00
|
|
|
-- @param #cc.Node target
|
2015-01-21 17:33:26 +08:00
|
|
|
-- @return FadeTo#FadeTo self (return value: cc.FadeTo)
|
2014-03-18 15:55:30 +08:00
|
|
|
|
|
|
|
--------------------------------
|
2014-09-02 13:45:07 +08:00
|
|
|
--
|
2014-03-18 15:55:30 +08:00
|
|
|
-- @function [parent=#FadeTo] clone
|
|
|
|
-- @param self
|
|
|
|
-- @return FadeTo#FadeTo ret (return value: cc.FadeTo)
|
|
|
|
|
|
|
|
--------------------------------
|
2014-09-02 13:45:07 +08:00
|
|
|
--
|
2014-03-18 15:55:30 +08:00
|
|
|
-- @function [parent=#FadeTo] reverse
|
|
|
|
-- @param self
|
|
|
|
-- @return FadeTo#FadeTo ret (return value: cc.FadeTo)
|
|
|
|
|
|
|
|
--------------------------------
|
2015-03-18 22:02:42 +08:00
|
|
|
-- param time In seconds.
|
2014-03-18 15:55:30 +08:00
|
|
|
-- @function [parent=#FadeTo] update
|
|
|
|
-- @param self
|
2014-09-02 13:45:07 +08:00
|
|
|
-- @param #float time
|
2015-01-21 17:33:26 +08:00
|
|
|
-- @return FadeTo#FadeTo self (return value: cc.FadeTo)
|
2014-03-18 15:55:30 +08:00
|
|
|
|
2015-05-05 11:31:53 +08:00
|
|
|
--------------------------------
|
|
|
|
--
|
|
|
|
-- @function [parent=#FadeTo] FadeTo
|
|
|
|
-- @param self
|
|
|
|
-- @return FadeTo#FadeTo self (return value: cc.FadeTo)
|
|
|
|
|
2014-03-10 14:04:58 +08:00
|
|
|
return nil
|