Vixen
02b45cc4
csharp
public readonly record struct ScreenProbeGatherSettings

How far a probe's rays look, and how they leave the surface they start on.

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

Fields and properties (3)

  • public float MaxDistance

    How far a ray looks before deciding it hit nothing.

  • public float SurfaceBias

    How far off its surface a probe stands, in world units.

  • public float AdaptiveTolerance

    How far off every nearby probe's plane a pixel's surface may stand before it gets a probe of its own, in world units. Zero, the default, places none.

Methods (2)

  • public ScreenProbeGatherSettings()

    The defaults: a hundred units, a small step off the surface.

  • public void Validate()

    Throws if these settings cannot gather anything.

Used by (5)

  • AdaptiveProbeTestsVixen.Rendering.ScreenProbes.Tests
  • ScreenProbeTraceDeviceTestsVixen.Graphics.Golden.Tests
  • ScreenSpaceTraceTestsVixen.Rendering.ScreenProbes.Tests
  • TracedScreenProbeGatherVixen.Rendering.ScreenProbes
  • TracedScreenProbeGatherTestsVixen.Rendering.ScreenProbes.Tests