AudioSource
Index
Constructors
constructor
Parameters
sourceType: SourceType
source: any
soundName: string
optionalvolume: number
optionalradius: number
Returns AudioSource
Properties
dimension
isLooping
isPlaying
nextSound
position
radius
remove
soundName
source
sourceType
startTime
streamID
volume
Methods
pause
Returns void
play
Returns void
playNextSound
Returns void
resume
Returns void
setNextSound
Parameters
soundName: string
Returns void
setPosition
Parameters
x: number
y: number
z: number
Returns this
setSound
Parameters
soundName: string
Returns void
stop
Returns void
updateVolume
Returns void