Options
All
  • Public
  • Public/Protected
  • All
Menu

Class PickingManager

Manages the picking hit areas by keeping track on which hit areas needs to be checked for interaction. Renders the hit area meshes to a texture which is then used to map a mesh to a x/y coordinate. The picking manager is registered as a renderer plugin.

Hierarchy

  • PickingManager

Index

Constructors

Properties

Methods

Constructors

constructor

Properties

Private _hitAreas

_hitAreas: PickingHitArea[] = []

Private _map

_map: PickingMap

renderer

renderer: Renderer

The renderer to use.

Methods

containsHitArea

  • containsHitArea(x: number, y: number, hitArea: PickingHitArea): boolean

Generated using TypeDoc