Options
All
  • Public
  • Public/Protected
  • All
Menu

Class BoxPicker

Hierarchy

Index

Constructors

constructor

Properties

array

array: number[] | TypedArray | undefined

shape

shape: Shape

Accessors

data

primitive

type

  • get type(): any

Methods

_applyTransformations

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

_getPosition

  • _getPosition(pid: number): any

getIndex

  • getIndex(pid: number): number

getObject

  • getObject(pid: number): any

getPosition

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

    Parameters

    • pid: number

      the picking id

    • instance: any

      the instance that should be applied

    • component: Component

      the component of the picked object

    Returns Vector3

    the position

Generated using TypeDoc