@xtctwins/tctwins-core 1.1.7 → 1.1.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xtctwins/tctwins-core",
3
- "version": "1.1.7",
3
+ "version": "1.1.8",
4
4
  "private": false,
5
5
  "description": "Web Programming Toolkit for 3D/2D BIM and CAD",
6
6
  "module": "./dist/tctwins-core.es5.js",
@@ -399,6 +399,27 @@ export declare class SceneModel extends Component {
399
399
  */
400
400
  set opacity(opacity: number);
401
401
 
402
+ /**
403
+ * Gets the brightness factor for this SceneModel.
404
+ *
405
+ * A factor > 1 brightens the model, < 1 darkens. Default is ````1.0````.
406
+ *
407
+ * @type {number}
408
+ */
409
+ get brightness(): number;
410
+
411
+ /**
412
+ * Sets the brightness factor for this SceneModel.
413
+ *
414
+ * Multiplies by the rendered fragment colors of the model's main color render
415
+ * passes, for both textured and untextured meshes. Applied in the render
416
+ * pipeline, so it can be freely changed at any time. A factor > 1 brightens,
417
+ * < 1 darkens. Default is ````1.0````.
418
+ *
419
+ * @type {number}
420
+ */
421
+ set brightness(brightness: number);
422
+
402
423
  /**
403
424
  * Gets if this SceneModel casts a shadow.
404
425
  *