visualization-tools

Home > @visualization-tools/core > HitTestResult

HitTestResult class

An entity that user has interacted with.

Signature:

export declare class HitTestResult<TUpdateArg, TTraits> 

Constructors

Constructor Modifiers Description
(constructor)(entity, segmentIds, hitTestArg, filterMask)   Constructs a new instance of the HitTestResult class

Properties

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.