csharp
public readonly record struct QueriedHitOne 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 HitWhether the query committed a triangle.
public float DistanceHow far along the ray it stands, or the budget for a miss.
public Vector3 PositionWhere — on the triangle, or at the budget's end.
public int StepsOne. 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