Vixen
02b45cc4
csharp
public readonly record struct DistanceFieldHit

What a march found, or did not.

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

Fields and properties (5)

  • public bool Hit

    Whether it reached a surface.

  • public float Distance

    How far along the ray, when it did.

  • public Vector3 Position

    Where it stopped.

  • public Vector3 Normal

    The surface's normal there, from the field's gradient.

  • public int Steps

    How many samples it took, which is the cost and worth being able to see.

Methods (1)

  • public DistanceFieldHit(bool Hit, float Distance, Vector3 Position, Vector3 Normal, int Steps)

    What a march found, or did not.

Used by (10)

  • CardRadiosityVixen.Rendering.SurfaceCache
  • CornellBoxTestsVixen.Rendering.SurfaceCache.Tests
  • DistanceFieldTracerVixen.Rendering.DistanceFields
  • DistanceFieldTracerTestsVixen.Rendering.DistanceFields.Tests
  • ExitCriteriaTestsVixen.Rendering.ScreenProbes.Tests
  • RenderedSceneTestsVixen.Rendering.DistanceFields.Tests
  • TracedCardCaptureVixen.Rendering.SurfaceCache
  • TracedIrradianceFillerVixen.Rendering.IrradianceFields
  • TracedReflectionsVixen.Rendering.Reflections
  • TracedScreenProbeGatherVixen.Rendering.ScreenProbes