csharp
public interface ISunSourceSomething that knows which light is the scene's sun.
No guide page documents this yet — the page shows what the code says about itself.
Remarks
An interface rather than a reference to the lighting feature, because a shadow renderer needs one fact and should not depend on the machinery that happens to produce it — a scene with a scripted sun, or a cinematic overriding one, supplies this and nothing else changes.
Fields and properties (1)
RenderLight? SunThe directional light casting the scene's shadows, or null when there is none.
Used by (7)
- CompositorBuilderVixen.Rendering
- ForwardLightingRenderFeatureVixen.Rendering
- SceneLightingVixen.Rendering
- ShadowMapRendererVixen.Rendering
- SunlightVixen.Rendering.Tests
- SunlightVixen.Rendering.Tests
- VirtualShadowRendererVixen.Rendering