Class cc.Waves3D

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

Method Summary

Class Detail

cc.Waves3D()
cc.Waves3D action

Method Detail

  • <static> {cc.Waves3D} cc.Waves3D.create(duration, gridSize, waves, amplitude)
    creates an action with duration, grid size, waves and amplitude
    Parameters:
    {Number} duration
    {cc.Size} gridSize
    {Number} waves
    {Number} amplitude
    Returns:
    {cc.Waves3D}
  • {Number} getAmplitude()
    get Amplitude
    Returns:
    {Number}
  • {Number} getAmplitudeRate()
    get Amplitude Rate
    Returns:
    {Number}
  • {Boolean} initWithDuration(duration, gridSize, waves, amplitude)
    initializes an action with duration, grid size, waves and amplitude
    Parameters:
    {Number} duration
    {cc.Size} gridSize
    {Number} waves
    {Number} amplitude
    Returns:
    {Boolean}
  • setAmplitude(amplitude)
    set Amplitude
    Parameters:
    {Number} amplitude
  • setAmplitudeRate(amplitudeRate)
    set Amplitude Rate
    Parameters:
    {Number} amplitudeRate