Packageverlocity.components
Classpublic final class verSoundscape
InheritanceverSoundscape Inheritance Component Inheritance Singleton Inheritance Object

Handles soundscapes, which play a combination of sounds that form an environment. Allows for easy creation, editing, and playing of soundscapes. A soundscape plays a sound or a combination of sounds that assist in forming and immersive enviornment.



Public Properties
 PropertyDefined By
 InheritedclassName : Object
[read-only] Returns the class name of the component for dictionary registration.
Component
Protected Properties
 PropertyDefined By
 Inheritedstage : Stage
Component
Public Methods
 MethodDefined By
  
Constructor of the component.
verSoundscape
  
_Destruct():void
[override] Destructor of the component.
verSoundscape
 Inherited
_IsNotUpdating():Boolean
Returns if the component is not updating (paused).
Component
 Inherited
_IsValid():Boolean
Returns if this singleton is active/valid.
Singleton
 Inherited
_SetUpdating(bUpdating:Boolean):void
Pauses/resumes the component updating, if it's pausable.
Component
 Inherited
Updates the component, if possible.
Component
  
GetName():String
Returns the current name of the soundscape
verSoundscape
  
Set(scNew:Soundscape):void
Sets the current soundscape.
verSoundscape
  
Stop(bFade:Boolean = false):void
Stops the current soundscape
verSoundscape
Protected Methods
 MethodDefined By
 Inherited
Called if verConsole is enabled, used to create concommands for the component.
Component
  
_Update():void
[override] Updates the soundscapes
verSoundscape
Constructor Detail
verSoundscape()Constructor
public function verSoundscape()

Constructor of the component.

Method Detail
_Destruct()method
override public function _Destruct():void

Destructor of the component.

_Update()method 
override protected function _Update():void

Updates the soundscapes

GetName()method 
public final function GetName():String

Returns the current name of the soundscape

Returns
String
Set()method 
public final function Set(scNew:Soundscape):void

Sets the current soundscape.

Parameters

scNew:Soundscape — The soundscape to set to

Stop()method 
public final function Stop(bFade:Boolean = false):void

Stops the current soundscape

Parameters

bFade:Boolean (default = false) — Fade out the soundscape