2014-03-10 14:04:58 +08:00
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @module Shaky3D
|
2014-03-20 10:21:28 +08:00
|
|
|
-- @extend Grid3DAction
|
2014-06-25 17:36:50 +08:00
|
|
|
-- @parent_module cc
|
2014-03-18 15:55:30 +08:00
|
|
|
|
2014-03-10 14:04:58 +08:00
|
|
|
--------------------------------
|
2015-03-19 11:55:42 +08:00
|
|
|
-- brief Create the action with a range, shake Z vertices, a grid and duration.<br>
|
2015-03-27 10:26:35 +08:00
|
|
|
-- param initWithDuration Specify the duration of the Shaky3D action. It's a value in seconds.<br>
|
2015-03-19 11:55:42 +08:00
|
|
|
-- param gridSize Specify the size of the grid.<br>
|
|
|
|
-- param range Specify the range of the shaky effect.<br>
|
|
|
|
-- param shakeZ Specify whether shake on the z axis.<br>
|
|
|
|
-- return If the creation sucess, return a pointer of Shaky3D action; otherwise, return nil.
|
2014-03-10 14:04:58 +08:00
|
|
|
-- @function [parent=#Shaky3D] create
|
|
|
|
-- @param self
|
2015-03-19 11:55:42 +08:00
|
|
|
-- @param #float initWithDuration
|
2014-09-02 13:45:07 +08:00
|
|
|
-- @param #size_table gridSize
|
|
|
|
-- @param #int range
|
|
|
|
-- @param #bool shakeZ
|
2014-03-10 14:04:58 +08:00
|
|
|
-- @return Shaky3D#Shaky3D ret (return value: cc.Shaky3D)
|
|
|
|
|
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=#Shaky3D] clone
|
|
|
|
-- @param self
|
|
|
|
-- @return Shaky3D#Shaky3D ret (return value: cc.Shaky3D)
|
|
|
|
|
|
|
|
--------------------------------
|
2014-09-02 13:45:07 +08:00
|
|
|
--
|
2014-03-18 15:55:30 +08:00
|
|
|
-- @function [parent=#Shaky3D] update
|
|
|
|
-- @param self
|
2014-09-02 13:45:07 +08:00
|
|
|
-- @param #float time
|
2015-01-21 17:33:26 +08:00
|
|
|
-- @return Shaky3D#Shaky3D self (return value: cc.Shaky3D)
|
2014-03-18 15:55:30 +08:00
|
|
|
|
2014-03-10 14:04:58 +08:00
|
|
|
return nil
|