Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • InteractionEngine

Implements

Index

Constructors

Accessors

  • get closed(): boolean
  • get intersectionOpacity(): number
  • set intersectionOpacity(value: number): void
  • The opacity threshold that used to for intersection. (Default: 0) If the object is equal or below the threshold, it is not intersected anymore.

    Example: If the value is set to 0.25, all objects that have an opacity of 0.25 or lower and not intersectable.

    Returns number

  • The opacity threshold that used to for intersection. (Default: 0) If the object is equal or below the threshold, it is not intersected anymore.

    Example: If the value is set to 0.25, all objects that have an opacity of 0.25 or lower and not intersectable.

    Parameters

    • value: number

    Returns void

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

  • Parameters

    • value: number

    Returns void

  • get managers(): {}
  • get pointIntersectionPercentage(): number
  • set pointIntersectionPercentage(value: number): void
  • Returns number

  • Parameters

    • value: number

    Returns void

Methods

  • Add a new interaction manager to the selection of interaction managers. This manager will be fed with all onDown, onMove and onEnd events by the InteractionEngine. The token that is return can be used to remove this interaction manager.

    Parameters

    Returns string

  • close(): void
  • Closes the interaction engine and removes all managers that where registered.

    Returns void

  • onKeyDown(event: KeyboardEvent): void
  • onKeyUp(event: KeyboardEvent): void
  • onMouseWheel(event: WheelEvent): void
  • onPointerDown(event: PointerEvent): void
  • onPointerEnd(event: PointerEvent): void
  • onPointerMove(event: PointerEvent): void
  • onPointerOut(event: PointerEvent): void
  • onPointerUp(event: PointerEvent): void
  • removeInteractionManager(token: string): boolean