API / geotoolkit3d / picking / AbstractPicking / AbstractPicking
picking.AbstractPicking.AbstractPicking
Type Aliases
Type Aliases
Ƭ FilterFunction: (object: ThreeObject3D, pickable: boolean) => boolean
▸ (object, pickable): boolean
A function that can filter the pickable shape, takes the object to filter and it's current pickable status as parameter. Note that this filtering occurs prior to picking. As a result, if an object A is hidden by an object B, object A can still be picked if a filter is set to exclude object B. (see filtering documentation)
| Name | Type | Description |
|---|---|---|
object | ThreeObject3D | The object the filter should decide if it can be picked or not. |
pickable | boolean | Define if the object to filter is currently pickable. |
boolean
True if the object can be picked, or false if the object (and its children) cannot be picked.
Ƭ PickingResult: { object: ThreeObject3D ; point: Vector3 ; pointdevice?: Vector2 ; root?: ThreeObject3D } & Record<string, any>
PickingResult can be expanded by ExtraPickingModeCallback