Table of Contents

Struct PhysicsQueryHitRange

Namespace
Gravitas.Queries
Assembly
Gravitas.dll

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

start int
count int

Properties

Count

Gets the number of hits written for the request.

public int Count { get; }

Property Value

int

End

Gets the exclusive end index in the shared hit buffer.

public int End { get; }

Property Value

int

HasHits

Gets whether the request produced at least one hit.

public bool HasHits { get; }

Property Value

bool

Start

Gets the first hit index in the shared hit buffer.

public int Start { get; }

Property Value

int