@reall3d/reall3dviewer 0.0.7 → 0.1.0
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/pkg.d.ts +15 -15
- package/dist/pkg.js +601 -598
- package/dist/pkg.umd.cjs +13 -13
- package/package.json +2 -2
package/dist/pkg.d.ts
CHANGED
|
@@ -399,7 +399,7 @@ export declare class SplatMesh extends Mesh {
|
|
|
399
399
|
* @param opts 高斯模型选项
|
|
400
400
|
* @param meta 元数据
|
|
401
401
|
*/
|
|
402
|
-
addModel(opts: ModelOptions, meta
|
|
402
|
+
addModel(opts: ModelOptions, meta?: MetaData): Promise<void>;
|
|
403
403
|
fire(key: number, ...args: any): any;
|
|
404
404
|
/**
|
|
405
405
|
* 销毁
|
|
@@ -430,15 +430,15 @@ export declare interface SplatMeshOptions {
|
|
|
430
430
|
/**
|
|
431
431
|
* 模型矩阵
|
|
432
432
|
*/
|
|
433
|
-
matrix?: Matrix4
|
|
433
|
+
matrix?: Matrix4;
|
|
434
434
|
/**
|
|
435
435
|
* 渲染器事件管理器
|
|
436
436
|
*/
|
|
437
|
-
viewerEvents?: Events
|
|
437
|
+
viewerEvents?: Events;
|
|
438
438
|
/**
|
|
439
439
|
* 是否调试模式,生产环境默认false
|
|
440
440
|
*/
|
|
441
|
-
debugMode?: boolean
|
|
441
|
+
debugMode?: boolean;
|
|
442
442
|
/**
|
|
443
443
|
* 是否大场景模式,初始化后不可修改
|
|
444
444
|
*/
|
|
@@ -447,29 +447,29 @@ export declare interface SplatMeshOptions {
|
|
|
447
447
|
* 是否点云模式渲染,默认为true
|
|
448
448
|
* 支持通过viewer.options()动态更新
|
|
449
449
|
*/
|
|
450
|
-
pointcloudMode?: boolean
|
|
450
|
+
pointcloudMode?: boolean;
|
|
451
451
|
/**
|
|
452
|
-
*
|
|
452
|
+
* 移动端可渲染的高斯点数量限制
|
|
453
453
|
* 支持通过viewer.options()动态更新
|
|
454
454
|
*/
|
|
455
|
-
maxRenderCountOfMobile?: number
|
|
455
|
+
maxRenderCountOfMobile?: number;
|
|
456
456
|
/**
|
|
457
|
-
* PC
|
|
457
|
+
* PC端可渲染的高斯点数量限制
|
|
458
458
|
* 支持通过viewer.options()动态更新
|
|
459
459
|
*/
|
|
460
|
-
maxRenderCountOfPc?: number
|
|
460
|
+
maxRenderCountOfPc?: number;
|
|
461
461
|
/**
|
|
462
|
-
* 颜色亮度系数,默认1.
|
|
462
|
+
* 颜色亮度系数,默认1.0
|
|
463
463
|
*/
|
|
464
|
-
lightFactor?: number
|
|
464
|
+
lightFactor?: number;
|
|
465
465
|
/**
|
|
466
|
-
*
|
|
466
|
+
* 是否显示水印,默认true
|
|
467
467
|
*/
|
|
468
|
-
showWatermark?: boolean
|
|
468
|
+
showWatermark?: boolean;
|
|
469
469
|
/**
|
|
470
|
-
*
|
|
470
|
+
* 球谐系数的渲染级别,默认0
|
|
471
471
|
*/
|
|
472
|
-
shDegree?: number
|
|
472
|
+
shDegree?: number;
|
|
473
473
|
/**
|
|
474
474
|
* 是否开启深度测试,默认true
|
|
475
475
|
*/
|