📄 threejs/Core/Helpers/PlaneHelper

File: PlaneHelper.md | Updated: 11/15/2025


title: PlaneHelper category: Core layout: docs

PlaneHelper

A helper object to visualize an instance of Plane.

Code Example

const plane = new THREE.Plane( new THREE.Vector3( 1, 1, 0.2 ), 3 );
const helper = new THREE.PlaneHelper( plane, 1, 0xffff00 );
scene.add( helper );

Constructor

new PlaneHelper( plane : Plane, size : number, hex : number | Color | string )

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.

Properties

.plane : Plane

The plane being visualized.

.size : number

The side length of plane helper.

Default is 1.

Methods

.dispose()

Updates the helper to match the position and direction of the light being visualized.

Source

src/helpers/PlaneHelper.js