Options
All
  • Public
  • Public/Protected
  • All
Menu

Class Picker

Picker class

interface

Hierarchy

Index

Constructors

constructor

  • new Picker(array: any): Picker

Accessors

data

  • get data(): object

type

  • get type(): string

Methods

_applyTransformations

  • _applyTransformations(vector: any, instance: any, component: any): any

_getPosition

  • _getPosition(): Vector3

getIndex

  • getIndex(pid: any): any
  • Get the index for the given picking id

    Parameters

    • pid: any

      the picking id

    Returns any

    the index

getObject

  • getObject(pid: any): any
  • Get object data

    abstract

    Parameters

    • pid: any

      the picking id

    Returns any

    the object data

getPosition

  • getPosition(pid: any, instance: any, component: any): Vector3
  • Get position for the given picking id

    Parameters

    • pid: any

      the picking id

    • instance: any

      the instance that should be applied

    • component: any

      the component of the picked object

    Returns Vector3

    the position

Generated using TypeDoc