Skip to content

Commit

Permalink
doc(View): add diffuse parameter documentation.
Browse files Browse the repository at this point in the history
  • Loading branch information
gchoqueux committed Apr 19, 2021
1 parent 6953e01 commit fcc16da
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/Core/View.js
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,10 @@ class View extends THREE.EventDispatcher {
* configure the renderer (see {@link c3DEngine}. If not present, a new <canvas> will be created and
* added to viewerDiv (mutually exclusive with mainLoop)
* @param {boolean} [options.renderer.isWebGL2=true] - enable webgl 2.0 for THREE.js.
* @param {?Scene} options.scene3D - {@link Scene} instance to use, otherwise a default one will be constructed
* @param {?Scene} [options.scene3D] - [THREE.Scene](https://threejs.org/docs/#api/en/scenes/Scene) instance to use, otherwise a default one will be constructed
* @param {?Color} options.diffuse - [THREE.Color](https://threejs.org/docs/?q=color#api/en/math/Color) Diffuse color terrain material.
* This color is applied to terrain if there isn't color layer on terrain extent (by example on pole).
*
* @constructor
*/
constructor(crs, viewerDiv, options = {}) {
Expand Down

0 comments on commit fcc16da

Please sign in to comment.