Options
All
  • Public
  • Public/Protected
  • All
Menu

Class SelectionHelper

Hierarchy

Index

Constructors

Properties

element: HTMLElement
pointBottomRight: Vector2
pointTopLeft: Vector2
renderer: Renderer
startPoint: Vector2

Methods

  • dispose(): void
  • 注销

    Returns void

  • emit(event: string, ...args: any[]): void
  • 事件发送

    Parameters

    • event: string

      事件名

    • Rest ...args: any[]

      参数

    Returns void

  • off(event: string, callback: Function): void
  • 关闭事件

    Parameters

    • event: string

      事件名

    • callback: Function

      回调

    Returns void

  • on(event: string, callback: Function): void
  • 开启事件

    Parameters

    • event: string

      事件名

    • callback: Function

      回调

    Returns void

  • onSelectMove(clientX: number, clientY: number): void
  • Parameters

    • clientX: number
    • clientY: number

    Returns void

  • onSelectOver(): void
  • Returns void

  • onSelectStart(clientX: number, clientY: number): void
  • Parameters

    • clientX: number
    • clientY: number

    Returns void