Class MixedShadowSelector
Namespace: ValveResourceFormat.Renderer.World
Assembly: Renderer.dll
Picks the one stationary light whose real-time shadow is drawn over its baked shadows, as the VR light binner does. A new pick waits for the shadow of the previous light to fade out, then fades in.
public sealed class MixedShadowSelectorInheritance
object ← MixedShadowSelector
Properties
Current
Gets the light that currently has the mixed shadow, or null for none.
public SceneLight? Current { get; }Property Value
Hints
Gets the shadow hints placed in the scene.
public List<InfoDynamicShadowHint> Hints { get; }Property Value
Strength
Gets the strength of the one mixed shadow, of the light fading out until it is gone and then of the light fading in. The two fades never overlap.
public float Strength { get; }Property Value
float
Methods
GetStrength(SceneLight)
Gets how strongly the real-time shadow of a light darkens its baked strength, from 0 for no real-time shadow to 1 for a full one.
public float GetStrength(SceneLight light)Parameters
light SceneLight
Returns
float
Reset()
Forgets the pick, so the next update picks again without fading.
public void Reset()
