@galacean/effects-core 0.0.1-alpha.3 → 1.0.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/composition.d.ts +4 -4
- package/dist/index.js +7 -7
- package/dist/index.mjs +7 -7
- package/package.json +1 -1
package/dist/composition.d.ts
CHANGED
|
@@ -181,14 +181,14 @@ export declare class Composition implements Disposable, LostHandler {
|
|
|
181
181
|
* 获取合成当前时间
|
|
182
182
|
*/
|
|
183
183
|
get time(): number;
|
|
184
|
-
/**
|
|
185
|
-
* 获取合成的时长
|
|
186
|
-
*/
|
|
187
|
-
getDuration(): number;
|
|
188
184
|
/**
|
|
189
185
|
* 获取销毁状态
|
|
190
186
|
*/
|
|
191
187
|
get isDestroyed(): boolean;
|
|
188
|
+
/**
|
|
189
|
+
* 获取合成的时长
|
|
190
|
+
*/
|
|
191
|
+
getDuration(): number;
|
|
192
192
|
/**
|
|
193
193
|
* 重新开始合成
|
|
194
194
|
*/
|
package/dist/index.js
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* Description: Galacean Effects runtime core for the web
|
|
4
4
|
* Author: Ant Group CO., Ltd.
|
|
5
5
|
* Contributors: 燃然,飂兮,十弦,云垣,茂安,意绮
|
|
6
|
-
* Version:
|
|
6
|
+
* Version: v1.0.0
|
|
7
7
|
*/
|
|
8
8
|
|
|
9
9
|
'use strict';
|
|
@@ -25209,12 +25209,6 @@ var Composition = /** @class */ (function () {
|
|
|
25209
25209
|
enumerable: false,
|
|
25210
25210
|
configurable: true
|
|
25211
25211
|
});
|
|
25212
|
-
/**
|
|
25213
|
-
* 获取合成的时长
|
|
25214
|
-
*/
|
|
25215
|
-
Composition.prototype.getDuration = function () {
|
|
25216
|
-
return this.content.duration;
|
|
25217
|
-
};
|
|
25218
25212
|
Object.defineProperty(Composition.prototype, "isDestroyed", {
|
|
25219
25213
|
/**
|
|
25220
25214
|
* 获取销毁状态
|
|
@@ -25225,6 +25219,12 @@ var Composition = /** @class */ (function () {
|
|
|
25225
25219
|
enumerable: false,
|
|
25226
25220
|
configurable: true
|
|
25227
25221
|
});
|
|
25222
|
+
/**
|
|
25223
|
+
* 获取合成的时长
|
|
25224
|
+
*/
|
|
25225
|
+
Composition.prototype.getDuration = function () {
|
|
25226
|
+
return this.content.duration;
|
|
25227
|
+
};
|
|
25228
25228
|
/**
|
|
25229
25229
|
* 重新开始合成
|
|
25230
25230
|
*/
|
package/dist/index.mjs
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* Description: Galacean Effects runtime core for the web
|
|
4
4
|
* Author: Ant Group CO., Ltd.
|
|
5
5
|
* Contributors: 燃然,飂兮,十弦,云垣,茂安,意绮
|
|
6
|
-
* Version:
|
|
6
|
+
* Version: v1.0.0
|
|
7
7
|
*/
|
|
8
8
|
|
|
9
9
|
var commonjsGlobal = typeof globalThis !== 'undefined' ? globalThis : typeof window !== 'undefined' ? window : typeof global !== 'undefined' ? global : typeof self !== 'undefined' ? self : {};
|
|
@@ -25205,12 +25205,6 @@ var Composition = /** @class */ (function () {
|
|
|
25205
25205
|
enumerable: false,
|
|
25206
25206
|
configurable: true
|
|
25207
25207
|
});
|
|
25208
|
-
/**
|
|
25209
|
-
* 获取合成的时长
|
|
25210
|
-
*/
|
|
25211
|
-
Composition.prototype.getDuration = function () {
|
|
25212
|
-
return this.content.duration;
|
|
25213
|
-
};
|
|
25214
25208
|
Object.defineProperty(Composition.prototype, "isDestroyed", {
|
|
25215
25209
|
/**
|
|
25216
25210
|
* 获取销毁状态
|
|
@@ -25221,6 +25215,12 @@ var Composition = /** @class */ (function () {
|
|
|
25221
25215
|
enumerable: false,
|
|
25222
25216
|
configurable: true
|
|
25223
25217
|
});
|
|
25218
|
+
/**
|
|
25219
|
+
* 获取合成的时长
|
|
25220
|
+
*/
|
|
25221
|
+
Composition.prototype.getDuration = function () {
|
|
25222
|
+
return this.content.duration;
|
|
25223
|
+
};
|
|
25224
25224
|
/**
|
|
25225
25225
|
* 重新开始合成
|
|
25226
25226
|
*/
|