Struct SoundEventPlayer.Soundscape ​
Namespace: ValveResourceFormat.Renderer.Audio
Assembly: Renderer.dll
A soundscape region (env_soundscape): while the listener is within Radius of Position, Name plays as the ambient bed - either directly as a single sound event (see ), or, when Scripted, as every sound event a scripted soundscape resolves to (see ).
csharp
public readonly record struct SoundEventPlayer.Soundscape : IEquatable<SoundEventPlayer.Soundscape>Implements ​
IEquatable<SoundEventPlayer.Soundscape>
Constructors ​
Soundscape(Vector3, float, string, bool) ​
A soundscape region (env_soundscape): while the listener is within Radius of Position, Name plays as the ambient bed - either directly as a single sound event (see ), or, when Scripted, as every sound event a scripted soundscape resolves to (see ).
csharp
public Soundscape(Vector3 Position, float Radius, string Name, bool Scripted)Parameters ​
Position Vector3
Radius float
Name string
Scripted bool
Properties ​
Name ​
csharp
public string Name { get; init; }Property Value ​
Position ​
csharp
public Vector3 Position { get; init; }Property Value ​
Radius ​
csharp
public float Radius { get; init; }Property Value ​
Scripted ​
csharp
public bool Scripted { get; init; }
