Previous Up Next

M3setEffect
Modifies the parameters of an effect. Parameters set to nil remain unchanged.

I M3setEffect (
S3d _session_
HEffect3d _effect_
I _type_
[F F F] _vectorA_
[F F F] _vectorB_
[F F F] _vectorC_
)
Parameters

_session_
3D Session
_effect_
HEffect3d Object
_type_
defines the type of effect. See M3createEffect for the available effects.
_vectorA_
Depends on the '_type_' parameter. See M3createEffect.
_vectorB_
Depends on the '_type_' parameter. See M3createEffect.
_vectorC_
Depends on the '_type_' parameter. See M3createEffect.
Return value

0 if successful, otherwise nil
See Also

M3getEffect and M3createEffect