initial commit, 4.5 stable
Some checks failed
🔗 GHA / 📊 Static checks (push) Has been cancelled
🔗 GHA / 🤖 Android (push) Has been cancelled
🔗 GHA / 🍏 iOS (push) Has been cancelled
🔗 GHA / 🐧 Linux (push) Has been cancelled
🔗 GHA / 🍎 macOS (push) Has been cancelled
🔗 GHA / 🏁 Windows (push) Has been cancelled
🔗 GHA / 🌐 Web (push) Has been cancelled
Some checks failed
🔗 GHA / 📊 Static checks (push) Has been cancelled
🔗 GHA / 🤖 Android (push) Has been cancelled
🔗 GHA / 🍏 iOS (push) Has been cancelled
🔗 GHA / 🐧 Linux (push) Has been cancelled
🔗 GHA / 🍎 macOS (push) Has been cancelled
🔗 GHA / 🏁 Windows (push) Has been cancelled
🔗 GHA / 🌐 Web (push) Has been cancelled
This commit is contained in:
@@ -0,0 +1,64 @@
|
||||
// meta-description: Visual shader's node plugin template
|
||||
|
||||
using _BINDINGS_NAMESPACE_;
|
||||
using System;
|
||||
|
||||
[Tool]
|
||||
[GlobalClass]
|
||||
public partial class VisualShaderNode_CLASS_ : _BASE_
|
||||
{
|
||||
public override string _GetName()
|
||||
{
|
||||
return "_CLASS_";
|
||||
}
|
||||
|
||||
public override string _GetCategory()
|
||||
{
|
||||
return "";
|
||||
}
|
||||
|
||||
public override string _GetDescription()
|
||||
{
|
||||
return "";
|
||||
}
|
||||
|
||||
public override VisualShaderNode.PortType _GetReturnIconType()
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
public override int _GetInputPortCount()
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
public override string _GetInputPortName(int port)
|
||||
{
|
||||
return "";
|
||||
}
|
||||
|
||||
public override VisualShaderNode.PortType _GetInputPortType(int port)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
public override int _GetOutputPortCount()
|
||||
{
|
||||
return 1;
|
||||
}
|
||||
|
||||
public override string _GetOutputPortName(int port)
|
||||
{
|
||||
return "result";
|
||||
}
|
||||
|
||||
public override VisualShaderNode.PortType _GetOutputPortType(int port)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
public override string _GetCode(Godot.Collections.Array<string> inputVars, Godot.Collections.Array<string> outputVars, Shader.Mode mode, VisualShader.Type type)
|
||||
{
|
||||
return "";
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user