Struct SoundscapeBank.SoundscapeEvent ​
Namespace: ValveResourceFormat.Renderer.Audio
Assembly: Renderer.dll
One sound event a scripted soundscape starts, with the volume it plays at relative to its own authored volume - the product of the "volume" on every "playsoundscape" that pulled it in.
csharp
public readonly record struct SoundscapeBank.SoundscapeEvent : IEquatable<SoundscapeBank.SoundscapeEvent>Implements ​
IEquatable<SoundscapeBank.SoundscapeEvent>
Constructors ​
SoundscapeEvent(string, float) ​
One sound event a scripted soundscape starts, with the volume it plays at relative to its own authored volume - the product of the "volume" on every "playsoundscape" that pulled it in.
csharp
public SoundscapeEvent(string Name, float Volume)Parameters ​
Name string
Name of the sound event, as it is known to the .
Volume float
Multiplier applied on top of the event's own volume.
Properties ​
Name ​
Name of the sound event, as it is known to the .
csharp
public string Name { get; init; }Property Value ​
Volume ​
Multiplier applied on top of the event's own volume.
csharp
public float Volume { get; init; }
