Effect
On this page
Effects allow you to apply sound effects to any sound object. Effects are applied at the playback time through a pipeline processor.
An effect file contains the following properties:
id
uint64
required
A unique identifier for the effect. This will be used later by the engine and other sound objects to get a reference to this effect. This value should be different from 0
.
name
string
required
A unique name for the effect. This may be used in runtime to access the effect instance from the engine.
effect
string
required
The name of the effect to apply to the sound object. That name should have been registered in the engine through the Effect API. By default, the engine comes shipper with built-in effects:
- [BassBoost]
- [Delay]
- [Equalizer]
- [Flanger]
- [Freeverb]
- [LoFi]
- [Robotize]
parameters
RtpcCompatibleValue[]
required
The list of parameters to pass to the effect when instantiated. These parameters are RTPC compatible, meaning they can be static or dynamic following RTPC changes from the game.