mirror of
https://github.com/visgl/luma.gl.git
synced 2026-02-01 14:33:49 +00:00
28 lines
430 B
Markdown
28 lines
430 B
Markdown
# PickingPass (Experimental)
|
|
|
|
Renders a scene (list of models) into and offscreen buffer and picks using color based picking.
|
|
|
|
|
|
## Usage
|
|
|
|
Renders into the pickingBuffer
|
|
|
|
```
|
|
new PickingPass(gl)
|
|
```
|
|
|
|
## Methods
|
|
|
|
### constructor(gl : WebGLRenderingContext, props : Object)
|
|
|
|
Creates a new `ClearPass` instance
|
|
|
|
|
|
## Properties
|
|
|
|
Inherits properties from `Pass`
|
|
|
|
### `models` : Array (Default: `[]`)
|
|
|
|
Scenegraph (models) to be picked
|