Vixen
02b45cc4
csharp
public readonly record struct QueriedHit

One answer of a QueriedField trace — DistanceFieldHit, by shape.

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

Fields and properties (4)

  • public bool Hit

    Whether the query committed a triangle.

  • public float Distance

    How far along the ray it stands, or the budget for a miss.

  • public Vector3 Position

    Where — on the triangle, or at the budget's end.

  • public int Steps

    One. A query is one step, and the field's tracers report their cost, so this reports its.

Methods (1)

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

    One answer of a QueriedField trace — DistanceFieldHit, by shape.

Used by (3)

  • AccelerationStructureDeviceTestsVixen.Graphics.Golden.Tests
  • QueriedFieldVixen.Rendering.RayTracing
  • QueriedFieldTestsVixen.Rendering.RayTracing.Tests