Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

Index

Constructors

  • new MultiSelectManager(id?: string, effectMaterial?: IMaterialAbstractData, minimumNodes?: number, maximumNodes?: number): MultiSelectManager

Accessors

  • get deselectOnEmpty(): boolean
  • set deselectOnEmpty(value: boolean): void
  • Returns boolean

  • 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[]
  • get id(): string
  • Returns string

  • get insertionKey(): string
  • set insertionKey(value: string): void
  • Returns string

  • Parameters

    • value: string

    Returns void

  • get maximumNodes(): number
  • set maximumNodes(value: number): void
  • Returns number

  • Parameters

    • value: number

    Returns void

  • get minimumNodes(): number
  • set minimumNodes(value: number): void
  • Returns number

  • Parameters

    • value: number

    Returns void

  • get removalKey(): string
  • set removalKey(value: string): void
  • Returns string

  • Parameters

    • value: string

    Returns void

  • get useModifierKeys(): boolean
  • set useModifierKeys(value: boolean): void
  • Returns boolean

  • Parameters

    • value: boolean

    Returns void

  • Returns undefined | IViewportApi

  • Parameters

    Returns void

Methods

  • deselect(node: ITreeNode): void
  • Deselect a specific node.

    Parameters

    • node: ITreeNode

    Returns void

  • deselectAll(): void
  • Deselect all nodes.

    Returns void

  • For onDown events (pointerdown) this method is called. The pointer event is already translated into a ray. 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 (pointerup, pointerout) this method is called. The pointer event is already translated into a ray. 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 onMove events (pointermove) this method is called. The pointer event is already translated into a ray. 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