Options
All
  • Public
  • Public/Protected
  • All
Menu

Class PickingHitArea

Hit area which uses the shape of an object to determine interaction.

Hierarchy

  • PickingHitArea

Implements

  • IHitArea

Index

Constructors

Properties

Methods

Constructors

constructor

Properties

Private _manager

_manager: PickingManager

Optional camera

camera: Camera

The camera to use when rendering the object.

id

id: Uint8Array = PickingId.next()

The id which maps to the object.

object

object: Mesh3D | Model

The model or mesh to test for interaction.

Methods

contains

  • contains(x: number, y: number): boolean

Generated using TypeDoc