Class cc.ShakyTiles3D

Class Summary
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)
Parameters:
{Number} duration
{cc.Size} gridSize
{Number} range
{Boolean} shakeZ

Field Detail

<static> {cc.ShakyTiles3D} cc.ShakyTiles3D.create
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)
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