|
Copyright © 2001-2008 MultiMedia Soft
Return to Table of contents
|
|
[Visual Basic]
control.SetDirectXEffect (
nPlayer as Integer,
nEffect as enumDirectXEffects,
bSet as enumBoolean
) as enumErrorCodes
|
|
[C++]
short control.SetDirectXEffect (
short nPlayer,
short nEffect,
short bSet
);
|
|
Parameter
|
Description
| ||||||||||||||||||||||||||||||
|
|
| ||||||||||||||||||||||||||||||
|
nPlayer
|
Number representing the zero-based index of the involved player
| ||||||||||||||||||||||||||||||
|
nEffect
|
Numeric value that determines the effect to apply.
Supported values are the following:
| ||||||||||||||||||||||||||||||
|
bSet
|
Boolean value that enables/disables the chosen effect.
Supported values are the following:
|
|
Value
|
Meaning
|
|
|
|
|
enumErrorCodes.ERR_NOERROR (0)
|
The call was successful
|
|
Negative value
|
An error occurred: see the LastError property for further error details or for a list of the possible error values.
|