mirror of https://github.com/axmolengine/axmol.git
36 lines
1.1 KiB
Lua
36 lines
1.1 KiB
Lua
|
|
--------------------------------
|
|
-- @module Shaky3D
|
|
-- @extend Grid3DAction
|
|
-- @parent_module cc
|
|
|
|
--------------------------------
|
|
-- brief Create the action with a range, shake Z vertices, a grid and duration.<br>
|
|
-- param initWithDuration Specify the duration of the Shaky3D action. It's a value in seconds.<br>
|
|
-- 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.
|
|
-- @function [parent=#Shaky3D] create
|
|
-- @param self
|
|
-- @param #float initWithDuration
|
|
-- @param #size_table gridSize
|
|
-- @param #int range
|
|
-- @param #bool shakeZ
|
|
-- @return Shaky3D#Shaky3D ret (return value: cc.Shaky3D)
|
|
|
|
--------------------------------
|
|
--
|
|
-- @function [parent=#Shaky3D] clone
|
|
-- @param self
|
|
-- @return Shaky3D#Shaky3D ret (return value: cc.Shaky3D)
|
|
|
|
--------------------------------
|
|
--
|
|
-- @function [parent=#Shaky3D] update
|
|
-- @param self
|
|
-- @param #float time
|
|
-- @return Shaky3D#Shaky3D self (return value: cc.Shaky3D)
|
|
|
|
return nil
|