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