Loom Engine - v3.1.1
GitHub
TheWorldTable.ai
Preparing search index...
SpatialAudioSystem
Class SpatialAudioSystem
Implements
System
Index
Constructors
constructor
Properties
name
Methods
set
Spatial
Bus
set
Local
Character
Entity
get
Local
Character
Entity
update
Constructors
constructor
new
SpatialAudioSystem
(
opts
?:
{
spatialBus
?:
SpatialAudioBus
}
,
)
:
SpatialAudioSystem
Parameters
opts
:
{
spatialBus
?:
SpatialAudioBus
}
= {}
Returns
SpatialAudioSystem
Properties
Readonly
name
name
:
string
= 'spatial-audio'
Methods
set
Spatial
Bus
setSpatialBus
(
bus
:
SpatialAudioBus
|
null
)
:
void
Parameters
bus
:
SpatialAudioBus
|
null
Returns
void
set
Local
Character
Entity
setLocalCharacterEntity
(
entity
:
number
|
null
)
:
void
Parameters
entity
:
number
|
null
Returns
void
get
Local
Character
Entity
getLocalCharacterEntity
()
:
number
|
null
Returns
number
|
null
update
update
(
world
:
World
,
_dt
:
number
)
:
void
Parameters
world
:
World
_dt
:
number
Returns
void
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Properties
name
Methods
set
Spatial
Bus
set
Local
Character
Entity
get
Local
Character
Entity
update
GitHub
TheWorldTable.ai
Loom Engine - v3.1.1
Loading...