Drag[en]gine Script Module DragonScript
1.23
|
SynthesizerSource source. More...
Public Member Functions | |
Management | |
void | setEnabled (bool enabled) |
Source is enabled. More... | |
void | setMixMode (SynthesizerSourceMix mixMode) |
Set if source is enabled. More... | |
void | setBlendFactor (float factor) |
Set mixing mode. More... | |
void | setMinVolume (float volume) |
Set minimum volume relative to speaker volume in the range from 0 to 1. More... | |
void | setMaxVolume (float volume) |
Set maximum volume relative to speaker volume in the range from 0 to 1. More... | |
void | setMinPanning (float panning) |
Set minimum panning in the range from -1(left) to 1(right). More... | |
void | setMaxPanning (float panning) |
Set maximum panning in the range from -1(left) to 1(right). More... | |
Effects | |
void | addEffect (SynthesizerEffect effect) |
Add effect. More... | |
void | removeAllEffects () |
Remove all effects. More... | |
Protected Member Functions | |
Constructors | |
SynthesizerSource | new () |
Create animator source. More... | |
SynthesizerSource source.
This is a native class. It can not be instanced directly.
void Dragengine.Scenery.SynthesizerSource.addEffect | ( | SynthesizerEffect | effect | ) |
Add effect.
|
protected |
Create animator source.
Reimplemented in Dragengine.Scenery.SSWave, Dragengine.Scenery.SSSynthesizer, Dragengine.Scenery.SSSound, Dragengine.Scenery.SSGroup, and Dragengine.Scenery.SSChain.
void Dragengine.Scenery.SynthesizerSource.removeAllEffects | ( | ) |
Remove all effects.
void Dragengine.Scenery.SynthesizerSource.setBlendFactor | ( | float | factor | ) |
Set mixing mode.
void Dragengine.Scenery.SynthesizerSource.setEnabled | ( | bool | enabled | ) |
Source is enabled.
void Dragengine.Scenery.SynthesizerSource.setMaxPanning | ( | float | panning | ) |
Set maximum panning in the range from -1(left) to 1(right).
void Dragengine.Scenery.SynthesizerSource.setMaxVolume | ( | float | volume | ) |
Set maximum volume relative to speaker volume in the range from 0 to 1.
void Dragengine.Scenery.SynthesizerSource.setMinPanning | ( | float | panning | ) |
Set minimum panning in the range from -1(left) to 1(right).
void Dragengine.Scenery.SynthesizerSource.setMinVolume | ( | float | volume | ) |
Set minimum volume relative to speaker volume in the range from 0 to 1.
void Dragengine.Scenery.SynthesizerSource.setMixMode | ( | SynthesizerSourceMix | mixMode | ) |
Set if source is enabled.