Skip to content

Commit fcc16da

Browse files
committed
doc(View): add diffuse parameter documentation.
1 parent 6953e01 commit fcc16da

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/Core/View.js

+4-1
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,10 @@ class View extends THREE.EventDispatcher {
145145
* configure the renderer (see {@link c3DEngine}. If not present, a new <canvas> will be created and
146146
* added to viewerDiv (mutually exclusive with mainLoop)
147147
* @param {boolean} [options.renderer.isWebGL2=true] - enable webgl 2.0 for THREE.js.
148-
* @param {?Scene} options.scene3D - {@link Scene} instance to use, otherwise a default one will be constructed
148+
* @param {?Scene} [options.scene3D] - [THREE.Scene](https://threejs.org/docs/#api/en/scenes/Scene) instance to use, otherwise a default one will be constructed
149+
* @param {?Color} options.diffuse - [THREE.Color](https://threejs.org/docs/?q=color#api/en/math/Color) Diffuse color terrain material.
150+
* This color is applied to terrain if there isn't color layer on terrain extent (by example on pole).
151+
*
149152
* @constructor
150153
*/
151154
constructor(crs, viewerDiv, options = {}) {

0 commit comments

Comments
 (0)