Picker
Picker class
Constructor Summary
| Public Constructor | ||
| public |
constructor(array: Array | TypedArray) |
|
Member Summary
| Public Members | ||
| public |
|
|
Method Summary
| Public Methods | ||
| public |
Get the index for the given picking id |
|
| public abstract |
Get object data |
|
| public |
getPosition(pid: Integer, instance: Object, component: Component): Vector3 Get position for the given picking id |
|
| Private Methods | ||
| private |
|
|
| private abstract |
_getPosition(pid: Integer): Vector3 Get object position |
|
Public Constructors
public constructor(array: Array | TypedArray) source
Params:
| Name | Type | Attribute | Description |
| array | Array | TypedArray |
|
mapping |
Public Members
public array source
Public Methods
public getIndex(pid: Integer): Integer source
Get the index for the given picking id
Params:
| Name | Type | Attribute | Description |
| pid | Integer | the picking id |
public abstract getObject(pid: Integer): Object source
Get object data
Params:
| Name | Type | Attribute | Description |
| pid | Integer | the picking id |
public getPosition(pid: Integer, instance: Object, component: Component): Vector3 source
Get position for the given picking id
