CCBSoundEffect
CCBSoundEffect
Cocos2DInheritance: 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.CCBSoundEffectCopy(ICCCopyable)
System.Object Copy(ICCCopyable)(Cocos2D.ICCCopyable pZone)Copy/Duplicatae protocol for making a self copy of this object instance. If null is given as the parameter then selfie of this instance is returned. Otherwise, the state of this instance is copied to the given target.
Parameters:
pZone (Cocos2D.ICCCopyable)Returns:
System.ObjectExample
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.BooleanReverse()
Cocos2D.CCFiniteTimeAction Reverse()()Does nothing by default.
Returns:
Cocos2D.CCFiniteTimeActionExample
Update(float)
Update(float)(System.Single time)Parameters:
time (System.Single)Example