mirror of https://github.com/axmolengine/axmol.git
45 lines
1.2 KiB
Lua
45 lines
1.2 KiB
Lua
|
|
--------------------------------
|
|
-- @module FadeTo
|
|
-- @extend ActionInterval
|
|
-- @parent_module cc
|
|
|
|
--------------------------------
|
|
-- 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.
|
|
-- @function [parent=#FadeTo] create
|
|
-- @param self
|
|
-- @param #float duration
|
|
-- @param #unsigned char opacity
|
|
-- @return FadeTo#FadeTo ret (return value: cc.FadeTo)
|
|
|
|
--------------------------------
|
|
--
|
|
-- @function [parent=#FadeTo] startWithTarget
|
|
-- @param self
|
|
-- @param #cc.Node target
|
|
-- @return FadeTo#FadeTo self (return value: cc.FadeTo)
|
|
|
|
--------------------------------
|
|
--
|
|
-- @function [parent=#FadeTo] clone
|
|
-- @param self
|
|
-- @return FadeTo#FadeTo ret (return value: cc.FadeTo)
|
|
|
|
--------------------------------
|
|
--
|
|
-- @function [parent=#FadeTo] reverse
|
|
-- @param self
|
|
-- @return FadeTo#FadeTo ret (return value: cc.FadeTo)
|
|
|
|
--------------------------------
|
|
-- param time In seconds.
|
|
-- @function [parent=#FadeTo] update
|
|
-- @param self
|
|
-- @param #float time
|
|
-- @return FadeTo#FadeTo self (return value: cc.FadeTo)
|
|
|
|
return nil
|