Viewer - Interaction
    Preparing search index...

    Interface IMultiSelectEvent

    Definition of the multi select event. These events are sent for multi select specific events (EVENTTYPE_INTERACTION).

    interface IMultiSelectEvent {
        manager: IInteractionManager;
        nodes: ITreeNode[];
        viewportId: string;
        event?: PointerEvent;
        groupedNodes?: ITreeNode[];
        intersectionPoint?: vec3;
        node?: ITreeNode;
        ray?: IRay;
    }

    Hierarchy

    • IViewportEvent
      • IMultiSelectEvent
    Index

    Properties

    The manager that emitted this event.

    nodes: ITreeNode[]

    All currently selected nodes.

    viewportId: string
    event?: PointerEvent

    The original event that triggered the selection. Only provided if it was not a manual selection.

    groupedNodes?: ITreeNode[]

    All nodes in the scene tree that share the same groupId and are therefore interacted with at the same time.

    intersectionPoint?: vec3

    The intersection point of the ray with the node. Only provided on SELECT_ON.

    node?: ITreeNode

    The node being selected.

    ray?: IRay

    The ray of the selection process. Only provided on SELECT_ON and only if it was not a manual selection.