csharp
public readonly record struct DistanceFieldHitWhat 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 HitWhether it reached a surface.
public float DistanceHow far along the ray, when it did.
public Vector3 PositionWhere it stopped.
public Vector3 NormalThe surface's normal there, from the field's gradient.
public int StepsHow many samples it took, which is the cost and worth being able to see.
Methods (1)
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