|
|
@@ -11,9 +11,12 @@ const _v3 = /*@__PURE__*/ new Vector3();
|
|
|
|
|
|
/**
|
|
|
* Helper object to assist with visualizing a {@link DirectionalLight}'s
|
|
|
- * effect on the scene. This consists of plane and a line representing the
|
|
|
+ * effect on the scene. This consists of a plane and a line representing the
|
|
|
* light's position and direction.
|
|
|
*
|
|
|
+ * When the directional light or its target are transformed or light properties
|
|
|
+ * are changed, it's necessary to call the `update()` method of the respective helper.
|
|
|
+ *
|
|
|
* ```js
|
|
|
* const light = new THREE.DirectionalLight( 0xFFFFFF );
|
|
|
* scene.add( light );
|