@glowjs/core 2023.9.7 → 2023.9.23
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/glow.core.js +1 -1
- package/dist/typings/core/AppOptions.d.ts +0 -4
- package/dist/typings/effect/Light.d.ts +0 -4
- package/dist/typings/entity/Entity.d.ts +1 -1
- package/dist/typings/entity/ManualWall.d.ts +2 -6
- package/dist/typings/entity/component/AutoOpenDoor.d.ts +2 -1
- package/dist/typings/entity/component/PathAnimation.d.ts +4 -0
- package/dist/typings/entity/component/archive/ArchiveCabinetGroup.d.ts +4 -0
- package/dist/typings/entity/component/roaming/Roaming.d.ts +5 -0
- package/dist/typings/misc/SystemResId.d.ts +4 -20
- package/dist/typings/res/ResOptions.d.ts +28 -0
- package/package.json +6 -6
|
@@ -16,7 +16,7 @@ export interface Entity {
|
|
|
16
16
|
export declare class Entity extends Base {
|
|
17
17
|
protected _viewInfo: ViewInfo | null;
|
|
18
18
|
protected _cursor: string;
|
|
19
|
-
|
|
19
|
+
_boundingInfoNode: AbstractMesh;
|
|
20
20
|
protected _boxContainer: TransformNode;
|
|
21
21
|
/**
|
|
22
22
|
* 包围盒
|
|
@@ -8,13 +8,9 @@ import { ManualWallBuilder } from './ManualWallBuilder';
|
|
|
8
8
|
*/
|
|
9
9
|
export declare class ManualWall extends Wall {
|
|
10
10
|
/**
|
|
11
|
-
*
|
|
11
|
+
* 普通墙截面演示(默认科技风)
|
|
12
12
|
*/
|
|
13
|
-
static
|
|
14
|
-
/**
|
|
15
|
-
* 边缘科技风颜色
|
|
16
|
-
*/
|
|
17
|
-
static edgeTechnologyColor: string;
|
|
13
|
+
static sectionColor: string;
|
|
18
14
|
/**
|
|
19
15
|
* 左面贴图唯一编号
|
|
20
16
|
*/
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { Mesh } from '../../runtime';
|
|
1
2
|
import { Entity } from '../Entity';
|
|
2
3
|
import { Component } from './Component';
|
|
3
4
|
/**
|
|
@@ -6,7 +7,7 @@ import { Component } from './Component';
|
|
|
6
7
|
export declare class AutoOpenDoor extends Component {
|
|
7
8
|
private static _actionManager;
|
|
8
9
|
private static _app;
|
|
9
|
-
|
|
10
|
+
static _collision: Mesh;
|
|
10
11
|
/**
|
|
11
12
|
* 实例化一个自动开门对象
|
|
12
13
|
* @param entity 实体对象
|
|
@@ -19,21 +19,9 @@ export declare enum SystemResId {
|
|
|
19
19
|
*/
|
|
20
20
|
Wall = "a4fd143c58ea17e7aeb20dab344c0231",
|
|
21
21
|
/**
|
|
22
|
-
*
|
|
22
|
+
* 普通墙贴图(科技风)
|
|
23
23
|
*/
|
|
24
|
-
ManualWallTexture = "
|
|
25
|
-
/**
|
|
26
|
-
* 科技风
|
|
27
|
-
*/
|
|
28
|
-
TechnologyManualWallTexture = "725c7996b1978d0bd1484d551d777e58",
|
|
29
|
-
/**
|
|
30
|
-
* 普通墙阴影贴图
|
|
31
|
-
*/
|
|
32
|
-
ManualWallShadowTexture = "6d0a5fc8ee1e932ede4556e5918dc4fe",
|
|
33
|
-
/**
|
|
34
|
-
* 普通墙边缘贴图
|
|
35
|
-
*/
|
|
36
|
-
ManualWallEdgeTexture = "962b0f041db1dbac633331e662c2182c",
|
|
24
|
+
ManualWallTexture = "725c7996b1978d0bd1484d551d777e58",
|
|
37
25
|
/**
|
|
38
26
|
* 默认楼顶贴图
|
|
39
27
|
*/
|
|
@@ -43,13 +31,9 @@ export declare enum SystemResId {
|
|
|
43
31
|
*/
|
|
44
32
|
DefaultCeilingTexture = "bd68f59792c7af353b47b68eeb43b36c",
|
|
45
33
|
/**
|
|
46
|
-
*
|
|
47
|
-
*/
|
|
48
|
-
DefaultFloorTexture = "d3c168a23f0e0318d4e20283ab6cf9af",
|
|
49
|
-
/**
|
|
50
|
-
* 科技风地板贴图
|
|
34
|
+
* 默认地板贴图(科技风)
|
|
51
35
|
*/
|
|
52
|
-
|
|
36
|
+
DefaultFloorTexture = "3743334a2ed2df2ad6e2a2f221f87e58",
|
|
53
37
|
/**
|
|
54
38
|
* 漏水线贴图
|
|
55
39
|
*/
|
|
@@ -44,4 +44,32 @@ export declare type ResOptions = {
|
|
|
44
44
|
* 偏移量,有的模型的轴心点不在底部中心
|
|
45
45
|
*/
|
|
46
46
|
offset?: Point3D;
|
|
47
|
+
/**
|
|
48
|
+
* 离地高度
|
|
49
|
+
*/
|
|
50
|
+
above?: number;
|
|
51
|
+
/**
|
|
52
|
+
* 透明模式(贴图)
|
|
53
|
+
*/
|
|
54
|
+
transparencyMode?: number;
|
|
55
|
+
/**
|
|
56
|
+
* 粗糙度(贴图)
|
|
57
|
+
*/
|
|
58
|
+
roughness?: number;
|
|
59
|
+
/**
|
|
60
|
+
* 金属度(贴图)
|
|
61
|
+
*/
|
|
62
|
+
metallic?: number;
|
|
63
|
+
/**
|
|
64
|
+
* U缩放(贴图)
|
|
65
|
+
*/
|
|
66
|
+
uScale?: number;
|
|
67
|
+
/**
|
|
68
|
+
* V缩放(贴图)
|
|
69
|
+
*/
|
|
70
|
+
vScale?: number;
|
|
71
|
+
/**
|
|
72
|
+
* 颜色(贴图)
|
|
73
|
+
*/
|
|
74
|
+
color?: string;
|
|
47
75
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@glowjs/core",
|
|
3
|
-
"version": "2023.09.
|
|
3
|
+
"version": "2023.09.23",
|
|
4
4
|
"description": "GlowJS数字孪生引擎核心库。",
|
|
5
5
|
"main": "./dist/glow.core.js",
|
|
6
6
|
"types": "./dist/typings/index.d.ts",
|
|
@@ -45,11 +45,11 @@
|
|
|
45
45
|
"license": "ISC",
|
|
46
46
|
"dependencies": {
|
|
47
47
|
"@babel/plugin-transform-runtime": "^7.18.10",
|
|
48
|
-
"@babylonjs/core": "
|
|
49
|
-
"@babylonjs/gui": "
|
|
50
|
-
"@babylonjs/inspector": "
|
|
51
|
-
"@babylonjs/loaders": "
|
|
52
|
-
"@babylonjs/materials": "
|
|
48
|
+
"@babylonjs/core": "6.14.2",
|
|
49
|
+
"@babylonjs/gui": "6.14.2",
|
|
50
|
+
"@babylonjs/inspector": "6.14.2",
|
|
51
|
+
"@babylonjs/loaders": "6.14.2",
|
|
52
|
+
"@babylonjs/materials": "6.14.2",
|
|
53
53
|
"@tweenjs/tween.js": "^18.6.4",
|
|
54
54
|
"earcut": "^2.2.2",
|
|
55
55
|
"heatmap.js": "^2.0.5",
|