s&
About
The Project
infoAbout s&box mapRoadmap monitoringMetricsEngine startup and usage numbers
Updates
newspaperLatest News published_with_changesChangesRelease-by-release changelog
Games
Browse Games Discover Games
gamejamslive now

Game Jam III

Ends Fri 25 Sep
ThemeOne More Round

The jam is running. Build something, or play the entries.

£50,000
prizepool
View the jam
Workshop
Playable
sports_esportsGamesStandalone games and gamemodes
Assets
landscapeMaps view_in_arModels textureMaterials apparelClothing
appsEverythingEvery asset type in one list
Forum
Learn
Documentation
rocket_launchGetting Started docsDocumentation apiAPI Reference
Resources
schoolTutorials manage_searchCode Search
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_objectMinRepeatTimeremove_circleOcclusiondata_objectOcclusionEnableddata_objectOcclusionOverrideremove_circleOcclusionRadiusdata_objectPitchdata_objectPlayOnStartremove_circleReflectionOverrideremove_circleReflectionsdata_objectRepeatdata_objectReverbEnableddata_objectReverbOverridedata_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 23

Distance
float
DistanceAttenuation
bool
DistanceAttenuationOverride
bool
Falloff
Curve
Force2d
bool
MaxRepeatTime
float
MinRepeatTime
float
Occlusion
obsoletebool
Legacy alias for Sandbox.BaseSoundComponent.OcclusionEnabled.
OcclusionEnabled
bool
OcclusionOverride
bool
OcclusionRadius
obsoletefloat
Legacy occlusion radius. No longer used by the simulation.
Pitch
float
PlayOnStart
bool
ReflectionOverride
obsoletebool
Legacy alias for Sandbox.BaseSoundComponent.ReverbOverride.
Reflections
obsoletebool
Legacy alias for Sandbox.BaseSoundComponent.ReverbEnabled.
Repeat
bool
ReverbEnabled
bool
ReverbOverride
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.
Facepunch
  • News
  • Docs
  • Metrics
  • FAQ
  • Forum
  • Discord
  • Twitter