Skip to main content

CCBSoundEffect

CCBSoundEffect

Cocos2D

Inheritance: System.Object → Cocos2D.CCAction → Cocos2D.CCFiniteTimeAction → Cocos2D.CCActionInstant

Implements: Cocos2D.ICCCopyable

Constructors

CCBSoundEffect()

CCBSoundEffect()()

Methods

ActionWithSoundFile(string, float, float, float)

Cocos2D.CCBSoundEffect ActionWithSoundFile(string, float, float, float)(System.String file, System.Single pitch, System.Single pan, System.Single gain)
Parameters:
file (System.String)
pitch (System.Single)
pan (System.Single)
gain (System.Single)
Returns:
Cocos2D.CCBSoundEffect

Copy(ICCCopyable)

System.Object Copy(ICCCopyable)(Cocos2D.ICCCopyable pZone)
Parameters:
pZone (Cocos2D.ICCCopyable)
Returns:
System.Object
Example

InitWithSoundFile(string, float, float, float)

System.Boolean InitWithSoundFile(string, float, float, float)(System.String file, System.Single pitch, System.Single pan, System.Single gain)
Parameters:
file (System.String)
pitch (System.Single)
pan (System.Single)
gain (System.Single)
Returns:
System.Boolean

Reverse()

Cocos2D.CCFiniteTimeAction Reverse()()
Returns:
Cocos2D.CCFiniteTimeAction
Example

Update(float)

Update(float)(System.Single time)
Parameters:
time (System.Single)
Example