Class cc.Waves3D
- Defined in: CCActionGrid3D.js
- Extends cc.Grid3DAction
Constructor Attributes | Constructor Name and Description |
---|---|
cc.Waves3D action
|
Method Summary
Class Detail
cc.Waves3D()
cc.Waves3D action
Method Detail
-
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