Struct SceneCubemapFog.SkySource ​
Namespace: ValveResourceFormat.Renderer.SceneEnvironment
Assembly: Renderer.dll
The sky a fog takes its color from.
csharp
public readonly record struct SceneCubemapFog.SkySource : IEquatable<SceneCubemapFog.SkySource>Implements ​
IEquatable<SceneCubemapFog.SkySource>
Constructors ​
SkySource(string?, Matrix4x4, float) ​
The sky a fog takes its color from.
csharp
public SkySource(string? MaterialName, Matrix4x4 Transform, float BrightnessScale)Parameters ​
MaterialName string?
Sky material of the sky entity.
Transform Matrix4x4
Where the sky entity is placed. The fog takes its rotation.
BrightnessScale float
Brightness scale of the sky entity.
Properties ​
BrightnessScale ​
Brightness scale of the sky entity.
csharp
public float BrightnessScale { get; init; }Property Value ​
float
MaterialName ​
Sky material of the sky entity.
csharp
public string? MaterialName { get; init; }Property Value ​
string?
Transform ​
Where the sky entity is placed. The fog takes its rotation.
csharp
public Matrix4x4 Transform { get; init; }
