API ReferenceSandbox
BaseSoundComponentclass
Constructors1
Showing 1 constructors
protected BaseSoundComponent()
No results match this filter.
Methods4
Showing 4 methods
protected void ApplyOverrides(Sandbox.SoundHandle h)
| Parameter | Type | Description |
|---|---|---|
| h | SoundHandle | — |
Returns:
void—public virtual void StartSound()
Returns:
void—public virtual void StopSound()
Returns:
void—protected void TestSound()
Returns:
void—No results match this filter.
Properties23
Showing 23 properties
public float Sandbox.BaseSoundComponent.Distance { get; set; }
Returns:
float—public bool Sandbox.BaseSoundComponent.DistanceAttenuation { get; set; }
Returns:
bool—public bool Sandbox.BaseSoundComponent.DistanceAttenuationOverride { get; set; }
Returns:
bool—public Sandbox.Curve Sandbox.BaseSoundComponent.Falloff { get; set; }
public bool Sandbox.BaseSoundComponent.Force2d { get; set; }
Returns:
bool—public float Sandbox.BaseSoundComponent.MaxRepeatTime { get; set; }
Returns:
float—public float Sandbox.BaseSoundComponent.MinRepeatTime { get; set; }
Returns:
float—public bool Sandbox.BaseSoundComponent.Occlusion { get; set; }
Legacy alias for `Sandbox.BaseSoundComponent.OcclusionEnabled`.
Obsolete: Use OcclusionEnabled instead.
Returns:
bool—public bool Sandbox.BaseSoundComponent.OcclusionEnabled { get; set; }
Returns:
bool—public bool Sandbox.BaseSoundComponent.OcclusionOverride { get; set; }
Returns:
bool—public float Sandbox.BaseSoundComponent.OcclusionRadius { get; set; }
Legacy occlusion radius. No longer used by the simulation.
Obsolete: OcclusionRadius is no longer used by the simulation.
Returns:
float—public float Sandbox.BaseSoundComponent.Pitch { get; set; }
Returns:
float—public bool Sandbox.BaseSoundComponent.PlayOnStart { get; set; }
Returns:
bool—public bool Sandbox.BaseSoundComponent.ReflectionOverride { get; set; }
Legacy alias for `Sandbox.BaseSoundComponent.ReverbOverride`.
Obsolete: Use ReverbOverride instead.
Returns:
bool—public bool Sandbox.BaseSoundComponent.Reflections { get; set; }
Legacy alias for `Sandbox.BaseSoundComponent.ReverbEnabled`.
Obsolete: Use ReverbEnabled instead.
Returns:
bool—public bool Sandbox.BaseSoundComponent.Repeat { get; set; }
Returns:
bool—public bool Sandbox.BaseSoundComponent.ReverbEnabled { get; set; }
Returns:
bool—public bool Sandbox.BaseSoundComponent.ReverbOverride { get; set; }
Returns:
bool—public Sandbox.SoundEvent Sandbox.BaseSoundComponent.SoundEvent { get; set; }
public bool Sandbox.BaseSoundComponent.SoundOverride { get; set; }
Returns:
bool—public bool Sandbox.BaseSoundComponent.StopOnNew { get; set; }
Returns:
bool—public Sandbox.Audio.MixerHandle Sandbox.BaseSoundComponent.TargetMixer { get; set; }
The mixer we want this sound to play through
public float Sandbox.BaseSoundComponent.Volume { get; set; }
Returns:
float—No results match this filter.