Interface MapPickResult<TFeature>

Pick result on tiles (e.g. map)

interface MapPickResult<TFeature> {
    coord: Coordinates;
    distance: number;
    entity: Map<EntityUserData>;
    features?: TFeature[];
    isMapPickResult: true;
    object: TileMesh;
    point: Vector3;

Type Parameters

  • TFeature = unknown

Hierarchy (view full)


Coordinates of the point picked.

distance: number

Distance from the camera to the picked result.

Entity picked

features?: TFeature[]

Features picked (if pickFeatures enabled).

isMapPickResult: true
object: TileMesh

Tile containing the picked result.

point: Vector3

Point picked.