@galacean/effects-plugin-editor-gizmo 2.9.0-alpha.1 → 2.9.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/gizmo-component.d.ts +6 -1
- package/dist/index.js +3 -11
- 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 +3 -11
- 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.9.0
|
|
6
|
+
* Version: v2.9.0
|
|
7
7
|
*/
|
|
8
8
|
|
|
9
9
|
import * as EFFECTS from '@galacean/effects';
|
|
@@ -2894,6 +2894,7 @@ var GizmoComponent = /*#__PURE__*/ function(RendererComponent1) {
|
|
|
2894
2894
|
var self = item;
|
|
2895
2895
|
return {
|
|
2896
2896
|
type: HitTestType.custom,
|
|
2897
|
+
clipMasks: _this.frameClipMasks,
|
|
2897
2898
|
/**
|
|
2898
2899
|
* 自定义射线检测算法
|
|
2899
2900
|
* @param ray 射线参数
|
|
@@ -3584,9 +3585,6 @@ var DrawGizmoBehindPass = /*#__PURE__*/ function(RenderPass) {
|
|
|
3584
3585
|
});
|
|
3585
3586
|
renderer.renderMeshes(this.meshes);
|
|
3586
3587
|
};
|
|
3587
|
-
_proto.configure = function configure(renderer) {
|
|
3588
|
-
renderer.setFramebuffer(this.framebuffer);
|
|
3589
|
-
};
|
|
3590
3588
|
return DrawGizmoBehindPass;
|
|
3591
3589
|
}(RenderPass);
|
|
3592
3590
|
var DrawGizmoFrontPass = /*#__PURE__*/ function(RenderPass) {
|
|
@@ -3602,9 +3600,6 @@ var DrawGizmoFrontPass = /*#__PURE__*/ function(RenderPass) {
|
|
|
3602
3600
|
_proto.execute = function execute(renderer) {
|
|
3603
3601
|
renderer.renderMeshes(this.meshes);
|
|
3604
3602
|
};
|
|
3605
|
-
_proto.configure = function configure(renderer) {
|
|
3606
|
-
renderer.setFramebuffer(this.framebuffer);
|
|
3607
|
-
};
|
|
3608
3603
|
return DrawGizmoFrontPass;
|
|
3609
3604
|
}(RenderPass);
|
|
3610
3605
|
var DrawGizmoEditorPass = /*#__PURE__*/ function(RenderPass) {
|
|
@@ -3620,9 +3615,6 @@ var DrawGizmoEditorPass = /*#__PURE__*/ function(RenderPass) {
|
|
|
3620
3615
|
_proto.execute = function execute(renderer) {
|
|
3621
3616
|
renderer.renderMeshes(this.meshes);
|
|
3622
3617
|
};
|
|
3623
|
-
_proto.configure = function configure(renderer) {
|
|
3624
|
-
renderer.setFramebuffer(this.framebuffer);
|
|
3625
|
-
};
|
|
3626
3618
|
return DrawGizmoEditorPass;
|
|
3627
3619
|
}(RenderPass);
|
|
3628
3620
|
|
|
@@ -3709,7 +3701,7 @@ var EditorGizmoPlugin = /*#__PURE__*/ function(Plugin) {
|
|
|
3709
3701
|
registerPlugin("editor-gizmo", EditorGizmoPlugin);
|
|
3710
3702
|
/**
|
|
3711
3703
|
* 插件版本号
|
|
3712
|
-
*/ var version = "2.9.0
|
|
3704
|
+
*/ var version = "2.9.0";
|
|
3713
3705
|
logger.info("Plugin editor gizmo version: " + version + ".");
|
|
3714
3706
|
if (version !== EFFECTS.version) {
|
|
3715
3707
|
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!");
|