Options
Menu

Interface IPicker

Provides an interface for picking objects that can pick 3d objects from a view or scene.

interface

away.pick.IPicker

Hierarchy

  • IPicker

Implemented by

Index

Properties

onlyMouseEnabled

onlyMouseEnabled: boolean

Determines whether the picker takes account of the mouseEnabled properties of entities. Defaults to true.

Methods

dispose

  • dispose(): any
  • Disposes memory used by the IPicker object

    Returns any

getCollision

  • getCollision(position: Vector3D, direction: Vector3D, view: View): PickingCollision
  • Gets the collision object from the scene position and direction of the picking ray.

    Parameters

    • position: Vector3D

      The position of the picking ray in scene-space.

    • direction: Vector3D

      The direction of the picking ray in scene-space.

    • view: View

    Returns PickingCollision

Generated using TypeDoc