Drag[en]gine Script Module DragonScript  1.23
Dragengine.Scenery.SynthesizerSource Class Reference

SynthesizerSource source. More...

Inheritance diagram for Dragengine.Scenery.SynthesizerSource:
Dragengine.Scenery.SSChain Dragengine.Scenery.SSGroup Dragengine.Scenery.SSSound Dragengine.Scenery.SSSynthesizer Dragengine.Scenery.SSWave

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...
 

Detailed Description

SynthesizerSource source.

This is a native class. It can not be instanced directly.

Member Function Documentation

◆ addEffect()

void Dragengine.Scenery.SynthesizerSource.addEffect ( SynthesizerEffect  effect)

Add effect.

◆ new()

SynthesizerSource Dragengine.Scenery.SynthesizerSource.new ( )
protected

◆ removeAllEffects()

void Dragengine.Scenery.SynthesizerSource.removeAllEffects ( )

Remove all effects.

◆ setBlendFactor()

void Dragengine.Scenery.SynthesizerSource.setBlendFactor ( float  factor)

Set mixing mode.

◆ setEnabled()

void Dragengine.Scenery.SynthesizerSource.setEnabled ( bool  enabled)

Source is enabled.

◆ setMaxPanning()

void Dragengine.Scenery.SynthesizerSource.setMaxPanning ( float  panning)

Set maximum panning in the range from -1(left) to 1(right).

◆ setMaxVolume()

void Dragengine.Scenery.SynthesizerSource.setMaxVolume ( float  volume)

Set maximum volume relative to speaker volume in the range from 0 to 1.

◆ setMinPanning()

void Dragengine.Scenery.SynthesizerSource.setMinPanning ( float  panning)

Set minimum panning in the range from -1(left) to 1(right).

◆ setMinVolume()

void Dragengine.Scenery.SynthesizerSource.setMinVolume ( float  volume)

Set minimum volume relative to speaker volume in the range from 0 to 1.

◆ setMixMode()

void Dragengine.Scenery.SynthesizerSource.setMixMode ( SynthesizerSourceMix  mixMode)

Set if source is enabled.


The documentation for this class was generated from the following file: