Options
All
  • Public
  • Public/Protected
  • All
Menu

Class PickingInteraction

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

  • PickingInteraction

Implements

  • IRendererPlugin

Index

Constructors

constructor

Properties

renderer

renderer: Renderer

Static main

The main picking interaction which is used by default.

Methods

containsHitArea

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

destroy

  • destroy(): void

Generated using TypeDoc