Method StartEffect
StartEffect(ScreenEffect, Int32, Boolean)
Starts applying the specified effect to the screen.
Declaration
public static void StartEffect(ScreenEffect effectName, int duration = 0, bool looped = false)Parameters
| Type | Name | Description | 
|---|---|---|
| ScreenEffect | effectName | The ScreenEffect to start playing. | 
| System.Int32 | duration | The duration of the effect in milliseconds or zero to use the default length. | 
| System.Boolean | looped | If  |