reckfellENGINE

VisualShaderNodeGroupBase

Base class for a family of nodes with variable number of input and output ports within the visual shader graph.

On this page
class VisualShaderNodeGroupBaseReckfellSharpInherits VisualShaderNodeResizableBase

Base class for a family of nodes with variable number of input and output ports within the visual shader graph.

Currently, has no direct usage, use the derived classes instead.

Declarations checked against C# SDK 1.0.0. Expand a name to see declarations and documentation.

Methods21

AddInputPortvoid
# AddInputPort
C#
public void AddInputPort(int id, int type, string name);

Adds an input port with the specified type (see VisualShaderNode.PortType) and name.

Parameters
NameTypeDefault
idint—
typeint—
namestring—
AddOutputPortvoid
# AddOutputPort
C#
public void AddOutputPort(int id, int type, string name);

Adds an output port with the specified type (see VisualShaderNode.PortType) and name.

Parameters
NameTypeDefault
idint—
typeint—
namestring—
ClearInputPortsvoid
# ClearInputPorts
C#
public void ClearInputPorts();

Removes all previously specified input ports.

ClearOutputPortsvoid
# ClearOutputPorts
C#
public void ClearOutputPorts();

Removes all previously specified output ports.

GetFreeInputPortIdint
# GetFreeInputPortId
C#
public int GetFreeInputPortId();

Returns a free input port ID which can be used in VisualShaderNodeGroupBase.AddInputPort.

Returns int
GetFreeOutputPortIdint
# GetFreeOutputPortId
C#
public int GetFreeOutputPortId();

Returns a free output port ID which can be used in VisualShaderNodeGroupBase.AddOutputPort.

Returns int
GetInputPortCountint
# GetInputPortCount
C#
public int GetInputPortCount();

Returns the number of input ports in use. Alternative for VisualShaderNodeGroupBase.GetFreeInputPortId.

Returns int
GetInputsstring
# GetInputs
C#
public string GetInputs();

Returns a string description of the input ports as a colon-separated list using the format id,type,name; (see VisualShaderNodeGroupBase.AddInputPort).

Returns string
GetOutputPortCountint
# GetOutputPortCount
C#
public int GetOutputPortCount();

Returns the number of output ports in use. Alternative for VisualShaderNodeGroupBase.GetFreeOutputPortId.

Returns int
GetOutputsstring
# GetOutputs
C#
public string GetOutputs();

Returns a string description of the output ports as a colon-separated list using the format id,type,name; (see VisualShaderNodeGroupBase.AddOutputPort).

Returns string
HasInputPortbool
# HasInputPort
C#
public bool HasInputPort(int id);

Returns true if the specified input port exists.

Parameters
NameTypeDefault
idint—
Returns bool
HasOutputPortbool
# HasOutputPort
C#
public bool HasOutputPort(int id);

Returns true if the specified output port exists.

Parameters
NameTypeDefault
idint—
Returns bool
IsValidPortNamebool
# IsValidPortName
C#
public bool IsValidPortName(string name);

Returns true if the specified port name does not override an existed port name and is valid within the shader.

Parameters
NameTypeDefault
namestring—
Returns bool
RemoveInputPortvoid
# RemoveInputPort
C#
public void RemoveInputPort(int id);

Removes the specified input port.

Parameters
NameTypeDefault
idint—
RemoveOutputPortvoid
# RemoveOutputPort
C#
public void RemoveOutputPort(int id);

Removes the specified output port.

Parameters
NameTypeDefault
idint—
SetInputPortNamevoid
# SetInputPortName
C#
public void SetInputPortName(int id, string name);

Renames the specified input port.

Parameters
NameTypeDefault
idint—
namestring—
SetInputPortTypevoid
# SetInputPortType
C#
public void SetInputPortType(int id, int type);

Sets the specified input port's type (see VisualShaderNode.PortType).

Parameters
NameTypeDefault
idint—
typeint—
SetInputsvoid
# SetInputs
C#
public void SetInputs(string inputs);

Defines all input ports using a string formatted as a colon-separated list: id,type,name; (see VisualShaderNodeGroupBase.AddInputPort).

Parameters
NameTypeDefault
inputsstring—
SetOutputPortNamevoid
# SetOutputPortName
C#
public void SetOutputPortName(int id, string name);

Renames the specified output port.

Parameters
NameTypeDefault
idint—
namestring—
SetOutputPortTypevoid
# SetOutputPortType
C#
public void SetOutputPortType(int id, int type);

Sets the specified output port's type (see VisualShaderNode.PortType).

Parameters
NameTypeDefault
idint—
typeint—
SetOutputsvoid
# SetOutputs
C#
public void SetOutputs(string outputs);

Defines all output ports using a string formatted as a colon-separated list: id,type,name; (see VisualShaderNodeGroupBase.AddOutputPort).

Parameters
NameTypeDefault
outputsstring—
Reckfell Engine documentationBack to top ↑
QUICK LINKSGetting startedEntity hierarchyC# & .NET 10Scenes and prefabs
Reckfell guides and full API K
reckfellENGINE
RECKFELL ACCOUNT

Sign in

Sign in to your Reckfell account.

One account for the entire Reckfell platform.