@xtctwins/tctwins-core 1.1.7 → 1.1.9
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
|
@@ -150,6 +150,13 @@ export declare class AnnotationsPlugin extends Plugin {
|
|
|
150
150
|
*/
|
|
151
151
|
on(event: "markerClicked", callback: (annotation: Annotation) => void): void;
|
|
152
152
|
|
|
153
|
+
/**
|
|
154
|
+
* Fires when a mouse clicks an annotation label.
|
|
155
|
+
* @param {String} event The labelClicked event
|
|
156
|
+
* @param {Function} callback Callback fired on the event
|
|
157
|
+
*/
|
|
158
|
+
on(event: "labelClicked", callback: (annotation: Annotation) => void): void;
|
|
159
|
+
|
|
153
160
|
/**
|
|
154
161
|
* Fires when a mouse dbclick an annotation.
|
|
155
162
|
* @param {String} event The markerDoubleClicked event
|
|
@@ -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
|
*
|