API / geotoolkit3d / picking / PickingMaterialRegistrar / PickingMaterialRegistrar
picking.PickingMaterialRegistrar.PickingMaterialRegistrar
Constructors
Methods
▸ Static getClassName(): string
string
▸ Static setPickingMaterial(materialClassName, pickingMaterialConstructor): void
Register the picking material class to be used for picking for a given material.
The picking renderer requires custom implementation of materials that write information instead of pixels.
To customize the picking for a given object, one should implement the corresponding material and register it.
See
| Name | Type | Description |
|---|---|---|
materialClassName | string | The picked material's classname to replace |
pickingMaterialConstructor | MaterialClass | The picking material's constructor |
void