Viewer - Interaction
    Preparing search index...

    Interface IHoverEvent

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

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

    Hierarchy

    • IViewportEvent
      • IHoverEvent
    Index

    Properties

    The manager that emitted this event.

    nodes: ITreeNode[]

    The node being hovered.

    viewportId: string
    event?: PointerEvent

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

    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 HOVER_ON.

    ray?: IRay

    The ray of the hover process. Only provided on HOVER_ON and only if it was not a manual hovering.