From 7317a15e216da6458e77b9fdbdbd3755a0a32098 Mon Sep 17 00:00:00 2001 From: ftoromanoff Date: Mon, 19 Feb 2024 15:16:25 +0100 Subject: [PATCH] refactor(review): modif in documentation --- src/Renderer/PointsMaterial.js | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/Renderer/PointsMaterial.js b/src/Renderer/PointsMaterial.js index d02256c7a3..2ab873b75e 100644 --- a/src/Renderer/PointsMaterial.js +++ b/src/Renderer/PointsMaterial.js @@ -164,14 +164,16 @@ class PointsMaterial extends THREE.RawShaderMaterial { * @param {THREE.Vector2} [options.elevationRange=new THREE.Vector2(0, 1000)] elevation range. * @param {THREE.Vector2} [options.angleRange=new THREE.Vector2(-90, 90)] scan angle range. * @param {boolean} [options.applyOpacityClassication=false] apply opacity classification on all display mode. - * @param {Scheme} [options.classification] - define points classification color. - * @param {Scheme} [options.discreteScheme] - define points value and a color. + * @param {Scheme} [options.classification] LUT for point classification colorization. + * @param {Scheme} [options.discreteScheme] LUT for other discret point values colorization. + * @param {string} [options.gradient='SPECTRAL'] Name of the gradient to use for continuous point values. * @param {number} [options.sizeMode=PNTS_SIZE_MODE.VALUE] point cloud size mode. Only 'VALUE' or 'ATTENUATED' are possible. VALUE use constant size, ATTENUATED compute size depending on distance from point to camera. * @param {number} [options.minAttenuatedSize=3] minimum scale used by 'ATTENUATED' size mode * @param {number} [options.maxAttenuatedSize=10] maximum scale used by 'ATTENUATED' size mode * * @property {Scheme} classificationScheme - Color scheme for point classification values. * @property {Scheme} discreteScheme - Color scheme for all other discrete values. + * @property {string} _gradient - Name of the gradient to use for continuous point values. * * @example * // change color category classification