Vixen
02b45cc4
csharp
public readonly record struct ShadowCascade

What one cascade covers, and the transform that renders it.

No guide page documents this yet — the page shows what the code says about itself.

Fields and properties (5)

  • public Matrix4x4 ViewProjection

    World to the cascade's light clip space.

  • public Vector3 Centre

    The centre of the sphere the cascade was fitted to, in world space.

  • public float Radius

    That sphere's radius, which is half the cascade's extent.

  • public float Near

    Where the cascade starts, as a distance from the camera.

  • public float Far

    Where it ends.

Methods (1)

  • public ShadowCascade(Matrix4x4 ViewProjection, Vector3 Centre, float Radius, float Near, float Far)

    What one cascade covers, and the transform that renders it.

Used by (6)

  • ShadowAtlasTileDeviceTestsVixen.Graphics.Golden.Tests
  • ShadowCacheTestsVixen.Rendering.Tests
  • ShadowCascadeTestsVixen.Rendering.Tests
  • ShadowCascadesVixen.Rendering
  • ShadowMapRendererVixen.Rendering
  • ShadowMapRendererTestsVixen.Rendering.Tests