2022-01-04 08:30:47 +00:00
|
|
|
// 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 "";
|
|
|
|
}
|
|
|
|
|
2022-08-31 22:40:59 +00:00
|
|
|
public override long _GetReturnIconType()
|
2022-01-04 08:30:47 +00:00
|
|
|
{
|
|
|
|
return 0;
|
|
|
|
}
|
|
|
|
|
2022-08-31 22:40:59 +00:00
|
|
|
public override long _GetInputPortCount()
|
2022-01-04 08:30:47 +00:00
|
|
|
{
|
|
|
|
return 0;
|
|
|
|
}
|
|
|
|
|
2022-08-31 22:40:59 +00:00
|
|
|
public override string _GetInputPortName(long port)
|
2022-01-04 08:30:47 +00:00
|
|
|
{
|
|
|
|
return "";
|
|
|
|
}
|
|
|
|
|
2022-08-31 22:40:59 +00:00
|
|
|
public override long _GetInputPortType(long port)
|
2022-01-04 08:30:47 +00:00
|
|
|
{
|
|
|
|
return 0;
|
|
|
|
}
|
|
|
|
|
2022-08-31 22:40:59 +00:00
|
|
|
public override long _GetOutputPortCount()
|
2022-01-04 08:30:47 +00:00
|
|
|
{
|
|
|
|
return 1;
|
|
|
|
}
|
|
|
|
|
2022-08-31 22:40:59 +00:00
|
|
|
public override string _GetOutputPortName(long port)
|
2022-01-04 08:30:47 +00:00
|
|
|
{
|
|
|
|
return "result";
|
|
|
|
}
|
|
|
|
|
2022-08-31 22:40:59 +00:00
|
|
|
public override long _GetOutputPortType(long port)
|
2022-01-04 08:30:47 +00:00
|
|
|
{
|
|
|
|
return 0;
|
|
|
|
}
|
|
|
|
|
2022-08-07 23:53:54 +00:00
|
|
|
public override string _GetCode(Godot.Collections.Array<string> inputVars, Godot.Collections.Array<string> outputVars, Shader.Mode mode, VisualShader.Type type)
|
2022-01-04 08:30:47 +00:00
|
|
|
{
|
|
|
|
return "";
|
|
|
|
}
|
|
|
|
}
|