SoundEffect
SoundEffect is the base class that all other sound effects derive from. A SoundEffect can be applied to either a Sound or SoundGroup by being parented to either.
Memory category | Instances |
---|
Member index 2
Description
SoundEffect is the base class that all other sound effects derive from. A SoundEffect can be applied to either a Sound or SoundGroup by being parented to either. Multiple effects can be applied to the same Sound or SoundGroup. The order the effects will be applied in is determined by that effect's Priority.
History 9
- 553 Change Default of Priority from to
- 553 Change Default of Enabled from to
- 486 Change ThreadSafety of Priority from ReadOnly to ReadSafe
- 486 Change ThreadSafety of Enabled from ReadOnly to ReadSafe
- 462 Change ThreadSafety of Priority from to ReadOnly
- 462 Change ThreadSafety of Enabled from to ReadOnly
- 264 Add Priority
- 264 Add Enabled
- 264 Add SoundEffect
Members 2
Enabled
Type | Default | |
---|---|---|
bool |
Toggles the effect on and off. True by default.
Thread safety | ReadSafe |
---|---|
Category | State |
Loaded/Saved | true |
Priority
Type | Default | |
---|---|---|
int |
Determines the order the effect will be applied in relation to other effects. Higher priority effects will be applied earlier. The exception is when Priority equals 0 (which is the default). In this case, the base priority for the effect will be used. If the priority of two effects are equal, then the order is undetermined.
Thread safety | ReadSafe |
---|---|
Category | State |
Loaded/Saved | true |