Effects.DistortionIsApplied method |
|
Remarks
Verifies if the distortion effect has been applied to the given player through the Effects.DistortionApply method.
See the How to apply special effects to a playing sound section for further details.
Syntax
[Visual Basic] Public DistortionIsApplied ( nPlayerIndex as integer, ByRef bApplied as Boolean ) as enumErrorCodes |
[C#] public enumErrorCodes DistortionIsApplied ( short nPlayerIndex, ref bool bApplied ); |
[C++] public: enumErrorCodes DistortionIsApplied ( short nPlayerIndex, bool __gc *bApplied ); |
Parameter |
Description |
||||||
|
|
||||||
nPlayerIndex |
Number representing the zero-based index of the involved player |
||||||
bApplied |
Reference that, on return from the method call, will contain the boolean value specifying if the effect is currently applied. Supported values are the following:
|
Return value
Value |
Meaning |
|
|
false |
The given effect has not been applied |
true |
The given effect has been applied |