@xtctwins/tctwins-core 1.0.9 → 1.0.10
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/dist/tctwins-core.cjs.js
CHANGED
|
@@ -105195,6 +105195,7 @@ class Viewer {
|
|
|
105195
105195
|
* that it does not clip huge models.
|
|
105196
105196
|
* @param {Boolean} [cfg.colorTextureEnabled=true] Whether to enable base color texture rendering.
|
|
105197
105197
|
* @param {Boolean} [cfg.pbrEnabled=false] Whether to enable physically-based rendering.
|
|
105198
|
+
* @param {Boolean} [cfg.edgesEnabled] Whether to show edges
|
|
105198
105199
|
* @param {LocaleService} [cfg.localeService=null] Optional locale-based translation service.
|
|
105199
105200
|
* @param {Boolean} [cfg.dtxEnabled=false] Whether to enable data texture-based (DTX) scene representation within the Viewer. When this is true, the Viewer will use data textures to
|
|
105200
105201
|
* store geometry on the GPU for triangle meshes that don't have textures. This gives a much lower memory footprint for these types of model element. This mode may not perform well on low-end GPUs that are optimized
|
package/dist/tctwins-core.es.js
CHANGED
|
@@ -105191,6 +105191,7 @@ class Viewer {
|
|
|
105191
105191
|
* that it does not clip huge models.
|
|
105192
105192
|
* @param {Boolean} [cfg.colorTextureEnabled=true] Whether to enable base color texture rendering.
|
|
105193
105193
|
* @param {Boolean} [cfg.pbrEnabled=false] Whether to enable physically-based rendering.
|
|
105194
|
+
* @param {Boolean} [cfg.edgesEnabled] Whether to show edges
|
|
105194
105195
|
* @param {LocaleService} [cfg.localeService=null] Optional locale-based translation service.
|
|
105195
105196
|
* @param {Boolean} [cfg.dtxEnabled=false] Whether to enable data texture-based (DTX) scene representation within the Viewer. When this is true, the Viewer will use data textures to
|
|
105196
105197
|
* store geometry on the GPU for triangle meshes that don't have textures. This gives a much lower memory footprint for these types of model element. This mode may not perform well on low-end GPUs that are optimized
|
package/dist/tctwins-core.es5.js
CHANGED
|
@@ -23695,6 +23695,7 @@ var documentBackgroundColor=ownerDocument.documentElement?parseColor(context,get
|
|
|
23695
23695
|
* that it does not clip huge models.
|
|
23696
23696
|
* @param {Boolean} [cfg.colorTextureEnabled=true] Whether to enable base color texture rendering.
|
|
23697
23697
|
* @param {Boolean} [cfg.pbrEnabled=false] Whether to enable physically-based rendering.
|
|
23698
|
+
* @param {Boolean} [cfg.edgesEnabled] Whether to show edges
|
|
23698
23699
|
* @param {LocaleService} [cfg.localeService=null] Optional locale-based translation service.
|
|
23699
23700
|
* @param {Boolean} [cfg.dtxEnabled=false] Whether to enable data texture-based (DTX) scene representation within the Viewer. When this is true, the Viewer will use data textures to
|
|
23700
23701
|
* store geometry on the GPU for triangle meshes that don't have textures. This gives a much lower memory footprint for these types of model element. This mode may not perform well on low-end GPUs that are optimized
|
package/package.json
CHANGED
package/types/viewer/Viewer.d.ts
CHANGED
|
@@ -63,6 +63,8 @@ export declare type ViewerConfiguration = {
|
|
|
63
63
|
localeService?: LocaleService;
|
|
64
64
|
/** Whether to enable data texture-based (DTX) scene representation within the Viewer. */
|
|
65
65
|
dtxEnabled?: boolean;
|
|
66
|
+
/** Whether to show edges */
|
|
67
|
+
edgesEnabled?:boolean;
|
|
66
68
|
/** Enhances the efficiency of SectionPlane creation by proactively allocating Viewer resources for a specified quantity of SectionPlanes.*/
|
|
67
69
|
numCachedSectionPlanes?: number;
|
|
68
70
|
};
|