summaryrefslogtreecommitdiff
path: root/modules/mono/editor_templates/VisualShaderNodeCustom
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2022-03-28 15:48:38 +0200
committerRémi Verschelde <rverschelde@gmail.com>2022-03-28 16:21:00 +0200
commitc9b75431f313fae16e9f4c9e60d7f5eaed0aaec0 (patch)
tree4f5b49ebd9e81cd5e66a92af0b7b1a53eee49169 /modules/mono/editor_templates/VisualShaderNodeCustom
parent41d075de5865c8b088c83219431661bc2d1f1802 (diff)
Refactor GDScript/C# script templates logic to be editor-only
Not a full refactor as it still goes through ScriptLanguage so it's hacky, but at least it can now compile without this.
Diffstat (limited to 'modules/mono/editor_templates/VisualShaderNodeCustom')
-rw-r--r--modules/mono/editor_templates/VisualShaderNodeCustom/basic.cs62
1 files changed, 0 insertions, 62 deletions
diff --git a/modules/mono/editor_templates/VisualShaderNodeCustom/basic.cs b/modules/mono/editor_templates/VisualShaderNodeCustom/basic.cs
deleted file mode 100644
index a1b93e7daa..0000000000
--- a/modules/mono/editor_templates/VisualShaderNodeCustom/basic.cs
+++ /dev/null
@@ -1,62 +0,0 @@
-// meta-description: Visual shader's node plugin template
-
-using _BINDINGS_NAMESPACE_;
-using System;
-
-public partial class VisualShaderNode_CLASS_ : _BASE_
-{
- public override string _GetName()
- {
- return "_CLASS_";
- }
-
- public override string _GetCategory()
- {
- return "";
- }
-
- public override string _GetDescription()
- {
- return "";
- }
-
- public override int _GetReturnIconType()
- {
- return 0;
- }
-
- public override int _GetInputPortCount()
- {
- return 0;
- }
-
- public override string _GetInputPortName(int port)
- {
- return "";
- }
-
- public override int _GetInputPortType(int port)
- {
- return 0;
- }
-
- public override int _GetOutputPortCount()
- {
- return 1;
- }
-
- public override string _GetOutputPortName(int port)
- {
- return "result";
- }
-
- public override int _GetOutputPortType(int port)
- {
- return 0;
- }
-
- public override string _GetCode(Godot.Collections.Array inputVars, Godot.Collections.Array outputVars, Shader.Mode mode, VisualShader.Type type)
- {
- return "";
- }
-}