Inheritance: EventDispatcher → Object3D → Mesh →
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 );
LightProbeHelper is an addon, and must be imported explicitly, see Installation#Addons.
import { LightProbeHelper } from 'three/addons/helpers/LightProbeHelper.js';
Constructs a new light probe helper.
lightProbe
The light probe to visualize.
size
The size of the helper.
Default is 1.
The light probe to visualize.
The size of the helper.
Default is 1.
Frees the GPU-related resources allocated by this instance. Call this method whenever this instance is no longer used in your app.