Capítulo 126 de 859
Renders a sphere to visualize a light probe in the scene.
This helper can only be used with WebGLRenderer. When using WebGPURenderer, import from LightProbeHelperGPU.js.
const helper = new LightProbeHelper( lightProbe );
scene.add( helper );
Constructor
| Signature |
|---|
new LightProbeHelper( lightProbe : LightProbe, size : number ) |
Properties
| Property | Description |
|---|---|
.lightProbe : LightProbe | The light probe to visualize. |
.size : number | The size of the helper. |
Methods
| Method | Description |
|---|---|
.dispose() | Frees the GPU-related resources allocated by this instance. Call this method whenever this instance is no longer used in your app. |