Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

Index

Constructors

Accessors

  • get deselectOnEmpty(): boolean
  • set deselectOnEmpty(value: boolean): void
  • Deselect the selected node when clicking on an empty space in the Viewport.

    Returns boolean

  • Deselect the selected node when clicking on an empty space in the Viewport.

    Parameters

    • value: boolean

    Returns void

  • get effectMaterial(): undefined | IMaterialAbstractData
  • set effectMaterial(value: undefined | IMaterialAbstractData): void
  • Returns undefined | IMaterialAbstractData

  • Parameters

    • value: undefined | IMaterialAbstractData

    Returns void

  • A filter that is applied during the intersection process. While intersecting, only nodes where this filter applies will be evaluated. The filters can be set per INTERACTION_STATE.

    Returns IInteractionFilterOptions

  • get gatheredGroupedNodes(): {}
  • Returns {}

    • [key: string]: ITreeNode[]
  • Returns undefined | IViewportApi

  • Parameters

    Returns void

Methods

  • deselect(): void
  • Deselect the current node.

    Returns void

  • onDown(event: MouseEvent | TouchEvent, ray: IRay, intersection: IIntersection[]): void
  • For onDown events (mouseDown and touchstart) this method is called. The mouse event is already translated into a ray, therefore it can be used independently of mouse or touch events. An array of intersections is provided that is the result of an intersection with the ray and the scene with the applied filters. (Note that filters of other InteractionManagers may also apply, therefore you need to sanitize the intersections in that case)

    Parameters

    Returns void

  • For onEnd events (mouseUp, mouseOut and touchend) this method is called. The mouse event is already translated into a ray, therefore it can be used independently of mouse or touch events. An array of intersections is provided that is the result of an intersection with the ray and the scene with the applied filters. (Note that filters of other InteractionManagers may also apply, therefore you need to sanitize the intersections in that case)

    Parameters

    Returns void

  • onMove(event: MouseEvent | TouchEvent, ray: IRay, intersection: IIntersection[]): void
  • For onMove events (mouseMove and touchmove) this method is called. The mouse event is already translated into a ray, therefore it can be used independently of mouse or touch events. An array of intersections is provided that is the result of an intersection with the ray and the scene with the applied filters. (Note that filters of other InteractionManagers may also apply, therefore you need to sanitize the intersections in that case)

    Parameters

    Returns void

  • remove(): void
  • Select a node. The point and distance of the intersection can be freely chosen and are provided in the event callbacks.

    Parameters

    Returns void