@galacean/effects-threejs 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/index.js +9 -9
- package/dist/index.min.js +3 -3
- package/dist/index.mjs +9 -9
- package/package.json +2 -2
package/dist/index.mjs
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* Description: Galacean Effects runtime threejs plugin 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
|
import * as THREE from 'three';
|
|
@@ -25207,12 +25207,6 @@ var Composition = /** @class */ (function () {
|
|
|
25207
25207
|
enumerable: false,
|
|
25208
25208
|
configurable: true
|
|
25209
25209
|
});
|
|
25210
|
-
/**
|
|
25211
|
-
* 获取合成的时长
|
|
25212
|
-
*/
|
|
25213
|
-
Composition.prototype.getDuration = function () {
|
|
25214
|
-
return this.content.duration;
|
|
25215
|
-
};
|
|
25216
25210
|
Object.defineProperty(Composition.prototype, "isDestroyed", {
|
|
25217
25211
|
/**
|
|
25218
25212
|
* 获取销毁状态
|
|
@@ -25223,6 +25217,12 @@ var Composition = /** @class */ (function () {
|
|
|
25223
25217
|
enumerable: false,
|
|
25224
25218
|
configurable: true
|
|
25225
25219
|
});
|
|
25220
|
+
/**
|
|
25221
|
+
* 获取合成的时长
|
|
25222
|
+
*/
|
|
25223
|
+
Composition.prototype.getDuration = function () {
|
|
25224
|
+
return this.content.duration;
|
|
25225
|
+
};
|
|
25226
25226
|
/**
|
|
25227
25227
|
* 重新开始合成
|
|
25228
25228
|
*/
|
|
@@ -27530,9 +27530,9 @@ Geometry.create = function (engine, options) {
|
|
|
27530
27530
|
Mesh.create = function (engine, props) {
|
|
27531
27531
|
return new ThreeMesh(engine, props);
|
|
27532
27532
|
};
|
|
27533
|
-
var version = "0.0
|
|
27533
|
+
var version = "1.0.0";
|
|
27534
27534
|
console.info({
|
|
27535
|
-
content: '[Galacean Effects THREEJS] version: ' + "0.0
|
|
27535
|
+
content: '[Galacean Effects THREEJS] version: ' + "1.0.0",
|
|
27536
27536
|
type: LOG_TYPE,
|
|
27537
27537
|
});
|
|
27538
27538
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@galacean/effects-threejs",
|
|
3
|
-
"version": "0.0
|
|
3
|
+
"version": "1.0.0",
|
|
4
4
|
"description": "Galacean Effects runtime threejs plugin for the web",
|
|
5
5
|
"module": "./dist/index.mjs",
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -43,7 +43,7 @@
|
|
|
43
43
|
"registry": "https://registry.npmjs.org"
|
|
44
44
|
},
|
|
45
45
|
"dependencies": {
|
|
46
|
-
"@galacean/effects-core": "0.0
|
|
46
|
+
"@galacean/effects-core": "1.0.0"
|
|
47
47
|
},
|
|
48
48
|
"devDependencies": {
|
|
49
49
|
"three": "^0.149.0",
|