Class SceneNodeLightingCache
Namespace: ValveResourceFormat.Renderer
Assembly: Renderer.dll
The environment map and light probe volume a scene node is lit with. A node only has one when it has cached lighting, either from handshakes of the map compiler or from the scene picking volumes for it.
csharp
public sealed class SceneNodeLightingCacheInheritance
object ← SceneNodeLightingCache
Properties
EnvMapIndex
Gets the shader index of the one environment map the node reflects, or SceneEnvMap.NoEnvMapIndex when it reflects none because it names one the world does not contain.
csharp
public uint EnvMapIndex { get; }Property Value
uint
Handshakes
Gets the handshakes of the environment map and light probe volume the map compiler assigned to the node.
csharp
public PrecomputedLightingHandshakes Handshakes { get; init; }Property Value
LightProbe
Gets the light probe volume the node is lit with, or null when it has none.
csharp
public SceneLightProbe? LightProbe { get; }
