Options
All
  • Public
  • Public/Protected
  • All
Menu

Class SurfacePicker

Hierarchy

Index

Constructors

constructor

Properties

array

array: number[] | TypedArray | undefined

surface

surface: Surface

Accessors

data

type

  • get type(): string

Methods

_applyTransformations

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

_getPosition

  • _getPosition(): Vector3

getIndex

  • getIndex(pid: number): number

getObject

  • getObject(pid: number): { index: number; surface: Surface }

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