API (v2.0.0) - Giro3D
    Preparing search index...

    Interface PickResult<TFeature>

    Pick result.

    Provides information from Three.js raycasting augmented with Giro3D information.

    May be extended, depending on what have been picked.

    interface PickResult<TFeature = unknown> {
        distance: number;
        entity: Entity3D<Entity3DEventMap, EntityUserData> | null;
        features?: TFeature[];
        object: Object3D;
        point: Vector3;
    }

    Type Parameters

    • TFeature = unknown

    Hierarchy (View Summary)

    Index

    Properties

    distance: number

    Distance from the camera to the picked result.

    Entity picked

    features?: TFeature[]

    Features picked (if pickFeatures enabled).

    object: Object3D

    THREE.js object picked.

    point: Vector3

    Point picked.