@galacean/effects-plugin-editor-gizmo 2.0.4 → 2.1.0-alpha.1
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/gizmo-component.d.ts +2 -2
- package/dist/index.js +4 -4
- package/dist/index.js.map +1 -1
- package/dist/index.min.js +2 -2
- package/dist/index.min.js.map +1 -1
- package/dist/index.mjs +4 -4
- package/dist/index.mjs.map +1 -1
- package/package.json +3 -3
package/dist/index.mjs
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* Description: Galacean Effects player editor gizmo plugin
|
|
4
4
|
* Author: Ant Group CO., Ltd.
|
|
5
5
|
* Contributors: 茂安,旻诺
|
|
6
|
-
* Version: v2.0.
|
|
6
|
+
* Version: v2.1.0-alpha.1
|
|
7
7
|
*/
|
|
8
8
|
|
|
9
9
|
import * as EFFECTS from '@galacean/effects';
|
|
@@ -3011,7 +3011,7 @@ var GizmoComponent = /*#__PURE__*/ function(RendererComponent1) {
|
|
|
3011
3011
|
return _this;
|
|
3012
3012
|
}
|
|
3013
3013
|
var _proto = GizmoComponent.prototype;
|
|
3014
|
-
_proto.
|
|
3014
|
+
_proto.onStart = function onStart() {
|
|
3015
3015
|
var _this_item_composition;
|
|
3016
3016
|
this.item.getHitTestParams = this.getHitTestParams;
|
|
3017
3017
|
var _this_item_composition_items;
|
|
@@ -3078,7 +3078,7 @@ var GizmoComponent = /*#__PURE__*/ function(RendererComponent1) {
|
|
|
3078
3078
|
}
|
|
3079
3079
|
composition == null ? void 0 : composition.loaderData.gizmoItems.push(this.item);
|
|
3080
3080
|
};
|
|
3081
|
-
_proto.
|
|
3081
|
+
_proto.onUpdate = function onUpdate(dt) {
|
|
3082
3082
|
this.updateRenderData();
|
|
3083
3083
|
};
|
|
3084
3084
|
_proto.render = function render(renderer) {
|
|
@@ -3688,7 +3688,7 @@ var EditorGizmoPlugin = /*#__PURE__*/ function(AbstractPlugin) {
|
|
|
3688
3688
|
}(AbstractPlugin);
|
|
3689
3689
|
|
|
3690
3690
|
registerPlugin("editor-gizmo", EditorGizmoPlugin, VFXItem);
|
|
3691
|
-
var version = "2.0.
|
|
3691
|
+
var version = "2.1.0-alpha.1";
|
|
3692
3692
|
logger.info("Plugin editor gizmo version: " + version + ".");
|
|
3693
3693
|
if (version !== EFFECTS.version) {
|
|
3694
3694
|
console.error("注意:请统一 Editor Gizmo 插件与 Player 版本,不统一的版本混用会有不可预知的后果!", "\nAttention: Please ensure the Editor Gizmo plugin is synchronized with the Player version. Mixing and matching incompatible versions may result in unpredictable consequences!");
|