Class cc.ShakyTiles3D
- Defined in: CCActionTiledGrid.js
- Extends cc.TiledGrid3DAction
Constructor Attributes | Constructor Name and Description |
---|---|
cc.ShakyTiles3D(duration, gridSize, range, shakeZ)
cc.ShakyTiles3D action.
|
Method Summary
Class Detail
cc.ShakyTiles3D(duration, gridSize, range, shakeZ)
cc.ShakyTiles3D action.
Reference the test cases (Effects Test)
Reference the test cases (Effects Test)
- Parameters:
- {Number} duration
- {cc.Size} gridSize
- {Number} range
- {Boolean} shakeZ
Field Detail
Please use cc.shakyTiles3D instead.
creates the action with a range, whether or not to shake Z vertices, a grid size, and duration.
Reference the test cases (Effects Test)
creates the action with a range, whether or not to shake Z vertices, a grid size, and duration.
Reference the test cases (Effects Test)
- Deprecated:
-
since v3.0
Please use cc.shakyTiles3D instead.
Method Detail
-
ctor(duration, gridSize, range, shakeZ)Constructor function, override it to extend the construction behavior, remember to call "this._super()" in the extended "ctor" function.
Creates the action with a range, whether or not to shake Z vertices, a grid size, and duration.- Parameters:
- {Number} duration
- {cc.Size} gridSize
- {Number} range
- {Boolean} shakeZ
-
{Boolean} initWithDuration(duration, gridSize, range, shakeZ)Initializes the action with a range, whether or not to shake Z vertices, a grid size, and duration.
- Parameters:
- {Number} duration
- {cc.Size} gridSize
- {Number} range
- {Boolean} shakeZ
- Returns:
- {Boolean}
-
update(dt)Called once per frame. Time is the number of seconds of a frame interval.
- Parameters:
- {Number} dt