Drag[en]gine Script Module DragonScript
1.23
|
Synthesizer source wave generator. More...
Public Member Functions | |
Constructors | |
SSWave | new () |
Create animator source. More... | |
Management | |
void | setType (SSWaveType type) |
Set wave type. More... | |
void | setMinFrequency (float frequency) |
Set minimum frequency in Hz. More... | |
void | setMaxFrequency (float frequency) |
Set maximum frequency in Hz. More... | |
void | targetAddLink (SSWaveTarget target, int link) |
Add link to target. More... | |
void | targetRemoveAllLinks (SSWaveTarget target) |
Remove all links from target. More... | |
Public Member Functions inherited from Dragengine.Scenery.SynthesizerSource | |
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... | |
void | addEffect (SynthesizerEffect effect) |
Add effect. More... | |
void | removeAllEffects () |
Remove all effects. More... | |
Additional Inherited Members | |
Constructors |
Synthesizer source wave generator.
This is a native class. It can not be subclassed.
SSWave Dragengine.Scenery.SSWave.new | ( | ) |
Create animator source.
Reimplemented from Dragengine.Scenery.SynthesizerSource.
void Dragengine.Scenery.SSWave.setMaxFrequency | ( | float | frequency | ) |
Set maximum frequency in Hz.
void Dragengine.Scenery.SSWave.setMinFrequency | ( | float | frequency | ) |
Set minimum frequency in Hz.
void Dragengine.Scenery.SSWave.setType | ( | SSWaveType | type | ) |
Set wave type.
void Dragengine.Scenery.SSWave.targetAddLink | ( | SSWaveTarget | target, |
int | link | ||
) |
Add link to target.
EInvalidParam | target is not a valid value. |
void Dragengine.Scenery.SSWave.targetRemoveAllLinks | ( | SSWaveTarget | target | ) |
Remove all links from target.
EInvalidParam | target is not a valid value. |