Inheritance: EventDispatcher → Object3D → Line →
A helper object to visualize an instance of Plane.
const plane = new THREE.Plane( new THREE.Vector3( 1, 1, 0.2 ), 3 );
const helper = new THREE.PlaneHelper( plane, 1, 0xffff00 );
scene.add( helper );
Constructs a new plane helper.
plane
The plane to be visualized.
size
The side length of plane helper.
Default is 1.
hex
The helper's color.
Default is 0xffff00.
The plane being visualized.
The side length of plane helper.
Default is 1.
Updates the helper to match the position and direction of the light being visualized.