API

Class Vector2WithInfo

Class used to transport Vector2 information for pointer events

Hierarchy (View Summary)

Index
  • Creates a new Vector2WithInfo

    Parameters

    • source: Vector2

      defines the vector2 data to transport

    • buttonIndex: number = 0

      defines the current mouse button index

    Returns Vector2WithInfo

buttonIndex: number = 0

defines the current mouse button index