s&
newspaper
About
info
About s&box
newspaper
Latest News
published_with_changes
Changes
map
Roadmap
monitoring
Metrics
games
Games
sports_esports
Browse Games
rocket
Discover Games
business_center
Workshop
sports_esports
Games
landscape
Maps
chair
Models
texture
Materials
apparel
Clothing
construction
More..
forum
Forum
docs
Docs
docs
Documentation
dashboard
Api Reference
school
Tutorials
input
Log in with Steam
chevron_left
Change Language
简体中文
English
Русский
Español
Português-Brasil
Deutsch
日本語
Français
Polski
Türkçe
한국어
Pirate
Italiano
ไทย
繁體中文
Українська
Čeština
Nederlands
Magyar
Dansk
Suomi
Svenska
Norsk
Ελληνικά
Română
Български
Tiếng Việt
Bahasa Indonesia
Español-Latinoamérica
العربية
Api
Components
SoundscapeTrigger
chevron_left
Components
class
SoundscapeTrigger
search
Constructors
functions
SoundscapeTrigger
Properties
data_object
BoxSize
data_object
Playing
data_object
Radius
data_object
Soundscape
data_object
StayActiveOnExit
data_object
TargetMixer
data_object
Type
data_object
Volume
Methods
lock
DrawGizmos
lock
OnDestroy
lock
OnDisabled
lock
OnUpdate
functions
TestListenerPosition
SoundscapeTrigger
Plays a soundscape when the listener enters the trigger area.
class
Sandbox
.
account_tree
extends
Component
Sandbox.Engine
build
Constructors
1
SoundscapeTrigger
(
)
data_object
Properties
8
BoxSize
Vector3
The size of the Soundscape when Sandbox.SoundscapeTrigger.Type is set to Sandbox.SoundscapeTrigger.TriggerType.Box.
Playing
bool
Radius
float
The radius of the Soundscape when Sandbox.SoundscapeTrigger.Type is set to Sandbox.SoundscapeTrigger.TriggerType.Sphere.
Soundscape
Soundscape
StayActiveOnExit
bool
When true the soundscape will keep playing after exiting the area, and will only stop playing once another soundscape takes over.
TargetMixer
MixerHandle
The mixer that the soundscape will play on.
Type
TriggerType
Determines when/where the soundscape can be heard.
Volume
float
functions
Methods
5
DrawGizmos
(
)
OnDestroy
(
)
OnDisabled
(
)
OnUpdate
(
)
TestListenerPosition
(
position
)
bool
Return true if they should hear this soundscape when in this position
Inheritance
Component
SoundscapeTrigger
people
Log in to reply
You can't reply if you're not logged in. That would be crazy.