s&
newspaperAbout
infoAbout s&box newspaperLatest News published_with_changesChanges mapRoadmap monitoringMetrics
gamesGames
sports_esportsBrowse Games rocketDiscover Games
business_centerWorkshop
sports_esportsGames landscapeMaps chairModels textureMaterials apparelClothing constructionMore..
forumForum docsDocs
docsDocumentation dashboardApi Reference schoolTutorials
inputLog in with Steam chevron_leftChange Language
简体中文EnglishРусскийEspañolPortuguês-BrasilDeutsch日本語FrançaisPolskiTürkçe한국어PirateItalianoไทย繁體中文УкраїнськаČeštinaNederlandsMagyarDanskSuomiSvenskaNorskΕλληνικάRomânăБългарскиTiếng ViệtBahasa IndonesiaEspañol-Latinoaméricaالعربية
Api
Components
BaseSoundComponent
chevron_left Components
class
BaseSoundComponent

Constructors

lockBaseSoundComponent

Fields

lockSoundHandle

Properties

data_objectDistancedata_objectDistanceAttenuationdata_objectDistanceAttenuationOverridedata_objectFalloffdata_objectForce2ddata_objectMaxRepeatTimedata_objectMinRepeatTimedata_objectOcclusiondata_objectOcclusionOverridedata_objectOcclusionRadiusdata_objectPitchdata_objectPlayOnStartdata_objectReflectionOverridedata_objectReflectionsdata_objectRepeatdata_objectSoundEventdata_objectSoundOverridedata_objectStopOnNewdata_objectTargetMixerdata_objectVolume

Methods

lockApplyOverridesfunctionsStartSoundfunctionsStopSoundlockTestSound
BaseSoundComponent
class Sandbox .account_tree extends Component
abstractSandbox.Engine

build Constructors 1

BaseSoundComponent ()

crop_din Fields 1

SoundHandle
SoundHandle

data_object Properties 20

Distance
float
DistanceAttenuation
bool
DistanceAttenuationOverride
bool
Falloff
Curve
Force2d
bool
MaxRepeatTime
float
MinRepeatTime
float
Occlusion
bool
OcclusionOverride
bool
OcclusionRadius
float
Pitch
float
PlayOnStart
bool
ReflectionOverride
bool
Reflections
bool
Repeat
bool
SoundEvent
SoundEvent
SoundOverride
bool
StopOnNew
bool
TargetMixer
MixerHandle
The mixer we want this sound to play through
Volume
float

functions Methods 4

ApplyOverrides (h)
StartSound ()
StopSound ()
TestSound ()

Inheritance

Component
BaseSoundComponent
SoundBoxComponent
SoundPointComponent
people
Log in to reply
You can't reply if you're not logged in. That would be crazy.
  • News
  • Docs
  • Metrics
  • FAQ
  • Forum
  • Discord
  • Twitter