Drag[en]gine Script Module DragonScript  1.21
Dragengine.Scenery.SSChain Class Reference

Synthesizer source chain. More...

Inheritance diagram for Dragengine.Scenery.SSChain:
Dragengine.Scenery.SynthesizerSource

Public Member Functions

Constructors
SSChain new ()
 Create animator source. More...
 
Management
int getSoundCount ()
 Number of sound files. More...
 
void addSound (Sound sound)
 Add sound. More...
 
void removeAllSounds ()
 Remove all sounds. More...
 
void setMinSpeed (float speed)
 Set minimum play speed. More...
 
void setMaxSpeed (float speed)
 Set maximum play speed. More...
 
void targetAddLink (SSChainTarget target, int link)
 Add link to target. More...
 
void targetRemoveAllLinks (SSChainTarget 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

Detailed Description

Synthesizer source chain.

This is a native class. It can not be subclassed.

Member Function Documentation

◆ addSound()

void Dragengine.Scenery.SSChain.addSound ( Sound  sound)

Add sound.

◆ getSoundCount()

int Dragengine.Scenery.SSChain.getSoundCount ( )

Number of sound files.

◆ new()

SSChain Dragengine.Scenery.SSChain.new ( )

Create animator source.

Reimplemented from Dragengine.Scenery.SynthesizerSource.

◆ removeAllSounds()

void Dragengine.Scenery.SSChain.removeAllSounds ( )

Remove all sounds.

◆ setMaxSpeed()

void Dragengine.Scenery.SSChain.setMaxSpeed ( float  speed)

Set maximum play speed.

A value of 1 plays at orignal speed. A value of 2 would play double as fast. Negative values play backward. A value of -1 would play backward at original speed.

◆ setMinSpeed()

void Dragengine.Scenery.SSChain.setMinSpeed ( float  speed)

Set minimum play speed.

A value of 1 plays at orignal speed. A value of 2 would play double as fast. Negative values play backward. A value of -1 would play backward at original speed.

◆ targetAddLink()

void Dragengine.Scenery.SSChain.targetAddLink ( SSChainTarget  target,
int  link 
)

Add link to target.

Exceptions
EInvalidParamtarget is not a valid value.

◆ targetRemoveAllLinks()

void Dragengine.Scenery.SSChain.targetRemoveAllLinks ( SSChainTarget  target)

Remove all links from target.

Exceptions
EInvalidParamtarget is not a valid value.

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