Class cc.WavesTiles3D

Class Summary
Constructor Attributes Constructor Name and Description
 
cc.WavesTiles3D action.

Method Summary

Class Detail

cc.WavesTiles3D()
cc.WavesTiles3D action.

Method Detail

  • <static> {cc.WavesTiles3D} cc.WavesTiles3D.create(duration, gridSize, waves, amplitude)
    creates the action with a number of waves, the waves amplitude, the grid size and the duration
    Parameters:
    {Number} duration
    {cc.Size} gridSize
    {Number} waves
    {Number} amplitude
    Returns:
    {cc.WavesTiles3D}
  • {Number} getAmplitude()
    get amplitude of waves
    Returns:
    {Number}
  • {Number} getAmplitudeRate()
    get amplitude rate of waves
    Returns:
    {Number}
  • {Boolean} initWithDuration(duration, gridSize, waves, amplitude)
    initializes the action with a number of waves, the waves amplitude, the grid size and the duration
    Parameters:
    {Number} duration
    {cc.Size} gridSize
    {Number} waves
    {Number} amplitude
    Returns:
    {Boolean}
  • setAmplitude(amplitude)
    set amplitude of waves
    Parameters:
    {Number} amplitude
  • setAmplitudeRate(amplitudeRate)
    set amplitude rate of waves
    Parameters:
    {Number} amplitudeRate