Home > @visualization-tools/core > HitTestResult
An entity that user has interacted with.
Signature:
export declare class HitTestResult<TUpdateArg, TTraits>
| Constructor | Modifiers | Description |
|---|---|---|
| (constructor)(entity, segmentIds, hitTestArg, filterMask) | Constructs a new instance of the HitTestResult class |
| Property | Modifiers | Type | Description |
|---|---|---|---|
| entity | TEntityTrait<TUpdateArg, TTraits> | ||
| filterMask | number | Additional filtering, typically the group mask. | |
| hitTestArg | TUpdateArg | The update arg. | |
| segmentIds | Set<number> | The segments of the entity that passed the hit test. |