Struct PhysicsQueryHitRange
Identifies the contiguous hits produced by one request inside a shared batch hit buffer.
public readonly struct PhysicsQueryHitRange
- Inherited Members
Constructors
PhysicsQueryHitRange(int, int)
Creates a range within a shared batch hit buffer.
public PhysicsQueryHitRange(int start, int count)
Parameters
Properties
Count
Gets the number of hits written for the request.
public int Count { get; }
Property Value
End
Gets the exclusive end index in the shared hit buffer.
public int End { get; }
Property Value
HasHits
Gets whether the request produced at least one hit.
public bool HasHits { get; }
Property Value
Start
Gets the first hit index in the shared hit buffer.
public int Start { get; }