@glowjs/core 2025.2.18 → 2025.2.27
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.d.ts +39 -5
- package/dist/glow.core.js +1 -1
- package/dist/typings/camera/CameraMgr.d.ts +3 -5
- package/dist/typings/camera/EasingFunction.d.ts +36 -0
- package/dist/typings/entity/component/heatmap/Heatmap.d.ts +1 -0
- package/dist/typings/index.d.ts +1 -0
- package/package.json +1 -1
package/dist/glow.core.d.ts
CHANGED
|
@@ -1753,10 +1753,6 @@ export declare class CameraMgr extends Base {
|
|
|
1753
1753
|
* @param app 应用
|
|
1754
1754
|
*/
|
|
1755
1755
|
constructor(app: App);
|
|
1756
|
-
/**
|
|
1757
|
-
* 在地表以上(默认true)
|
|
1758
|
-
*/
|
|
1759
|
-
aboveGround: boolean;
|
|
1760
1756
|
/**
|
|
1761
1757
|
* 获取或设置人称
|
|
1762
1758
|
*/
|
|
@@ -2036,8 +2032,9 @@ export declare class CameraMgr extends Base {
|
|
|
2036
2032
|
* @param target 目标
|
|
2037
2033
|
* @param time 花费的时间,默认值2000毫秒
|
|
2038
2034
|
* @param callback 完成回调函数
|
|
2035
|
+
* @param easing 缓动函数类型
|
|
2039
2036
|
*/
|
|
2040
|
-
flyTo(position: Point3D, target: Point3D, time?: number, callback?: () => void): void;
|
|
2037
|
+
flyTo(position: Point3D, target: Point3D, time?: number, callback?: () => void, easing?: EasingFunction): void;
|
|
2041
2038
|
private _updateOrthographic;
|
|
2042
2039
|
/**
|
|
2043
2040
|
* 停止飞行
|
|
@@ -3343,6 +3340,7 @@ export declare class Heatmap extends Component {
|
|
|
3343
3340
|
* @param entity 楼层
|
|
3344
3341
|
*/
|
|
3345
3342
|
constructor(entity: Entity);
|
|
3343
|
+
private _fixMirrorBug;
|
|
3346
3344
|
/**
|
|
3347
3345
|
* 创建
|
|
3348
3346
|
*/
|
|
@@ -5138,6 +5136,42 @@ export declare enum DoorWindowDirection {
|
|
|
5138
5136
|
*/
|
|
5139
5137
|
PositiveNegative = 3
|
|
5140
5138
|
}
|
|
5139
|
+
/**
|
|
5140
|
+
* 缓动函数枚举
|
|
5141
|
+
*/
|
|
5142
|
+
export declare enum EasingFunction {
|
|
5143
|
+
"Linear.None" = "Linear.None",
|
|
5144
|
+
"Quadratic.In" = "Quadratic.In",
|
|
5145
|
+
"Quadratic.Out" = "Quadratic.Out",
|
|
5146
|
+
"Quadratic.InOut" = "Quadratic.InOut",
|
|
5147
|
+
"Cubic.In" = "Cubic.In",
|
|
5148
|
+
"Cubic.Out" = "Cubic.Out",
|
|
5149
|
+
"Cubic.InOut" = "Cubic.InOut",
|
|
5150
|
+
"Quartic.In" = "Quartic.In",
|
|
5151
|
+
"Quartic.Out" = "Quartic.Out",
|
|
5152
|
+
"Quartic.InOut" = "Quartic.InOut",
|
|
5153
|
+
"Quintic.In" = "Quintic.In",
|
|
5154
|
+
"Quintic.Out" = "Quintic.Out",
|
|
5155
|
+
"Quintic.InOut" = "Quintic.InOut",
|
|
5156
|
+
"Sinusoidal.In" = "Sinusoidal.In",
|
|
5157
|
+
"Sinusoidal.Out" = "Sinusoidal.Out",
|
|
5158
|
+
"Sinusoidal.InOut" = "Sinusoidal.InOut",
|
|
5159
|
+
"Exponential.In" = "Exponential.In",
|
|
5160
|
+
"Exponential.Out" = "Exponential.Out",
|
|
5161
|
+
"Exponential.InOut" = "Exponential.InOut",
|
|
5162
|
+
"Circular.In" = "Circular.In",
|
|
5163
|
+
"Circular.Out" = "Circular.Out",
|
|
5164
|
+
"Circular.InOut" = "Circular.InOut",
|
|
5165
|
+
"Elastic.In" = "Elastic.In",
|
|
5166
|
+
"Elastic.Out" = "Elastic.Out",
|
|
5167
|
+
"Elastic.InOut" = "Elastic.InOut",
|
|
5168
|
+
"Back.In" = "Back.In",
|
|
5169
|
+
"Back.Out" = "Back.Out",
|
|
5170
|
+
"Back.InOut" = "Back.InOut",
|
|
5171
|
+
"Bounce.In" = "Bounce.In",
|
|
5172
|
+
"Bounce.Out" = "Bounce.Out",
|
|
5173
|
+
"Bounce.InOut" = "Bounce.InOut"
|
|
5174
|
+
}
|
|
5141
5175
|
/**
|
|
5142
5176
|
* 实体类型枚举
|
|
5143
5177
|
*/
|