Documentation
¶
Overview ¶
Currently, has no direct usage, use the derived classes instead.
Index ¶
- type Advanced
- type Any
- type Extension
- func (self *Extension[T]) AsObject() [1]gd.Object
- func (self *Extension[T]) AsRefCounted() [1]gd.RefCounted
- func (self *Extension[T]) AsResource() Resource.Instance
- func (self *Extension[T]) AsVisualShaderNode() VisualShaderNode.Instance
- func (self *Extension[T]) AsVisualShaderNodeGroupBase() Instance
- func (self *Extension[T]) AsVisualShaderNodeResizableBase() VisualShaderNodeResizableBase.Instance
- type ID
- type Instance
- func (self Instance) AddInputPort(id int, atype int, name string)
- func (self Instance) AddOutputPort(id int, atype int, name string)
- func (self Instance) AsObject() [1]gd.Object
- func (self Instance) AsRefCounted() [1]gd.RefCounted
- func (self Instance) AsResource() Resource.Instance
- func (self Instance) AsVisualShaderNode() VisualShaderNode.Instance
- func (self Instance) AsVisualShaderNodeGroupBase() Instance
- func (self Instance) AsVisualShaderNodeResizableBase() VisualShaderNodeResizableBase.Instance
- func (self Instance) ClearInputPorts()
- func (self Instance) ClearOutputPorts()
- func (self Instance) GetFreeInputPortId() int
- func (self Instance) GetFreeOutputPortId() int
- func (self Instance) GetInputPortCount() int
- func (self Instance) GetInputs() string
- func (self Instance) GetOutputPortCount() int
- func (self Instance) GetOutputs() string
- func (self Instance) HasInputPort(id int) bool
- func (self Instance) HasOutputPort(id int) bool
- func (self Instance) ID() ID
- func (self Instance) IsValidPortName(name string) bool
- func (self Instance) RemoveInputPort(id int)
- func (self Instance) RemoveOutputPort(id int)
- func (self Instance) SetInputPortName(id int, name string)
- func (self Instance) SetInputPortType(id int, atype int)
- func (self Instance) SetInputs(inputs string)
- func (self *Instance) SetObject(obj [1]gd.Object) bool
- func (self Instance) SetOutputPortName(id int, name string)
- func (self Instance) SetOutputPortType(id int, atype int)
- func (self Instance) SetOutputs(outputs string)
- func (self Instance) Virtual(name string) reflect.Value
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Advanced ¶
type Advanced = class
Advanced exposes a 1:1 low-level instance of the class, undocumented, for those who know what they are doing.
type Extension ¶
Extension can be embedded in a new struct to create an extension of this class. T should be the type that is embedding this Extension
func (*Extension[T]) AsRefCounted ¶
func (self *Extension[T]) AsRefCounted() [1]gd.RefCounted
func (*Extension[T]) AsResource ¶
func (*Extension[T]) AsVisualShaderNode ¶
func (self *Extension[T]) AsVisualShaderNode() VisualShaderNode.Instance
func (*Extension[T]) AsVisualShaderNodeGroupBase ¶
func (*Extension[T]) AsVisualShaderNodeResizableBase ¶
func (self *Extension[T]) AsVisualShaderNodeResizableBase() VisualShaderNodeResizableBase.Instance
type ID ¶
ID is a typed object ID (reference) to an instance of this class, use it to store references to objects with unknown lifetimes, as an ID will not panic on use if the underlying object has been destroyed.
type Instance ¶
type Instance [1]gdclass.VisualShaderNodeGroupBase
Instance of the class with convieniently typed arguments and results.
var Nil Instance
Nil is a nil/null instance of the class. Equivalent to the zero value.
func (Instance) AddInputPort ¶
Adds an input port with the specified 'type' (see [VisualShaderNode.PortType]) and 'name'.
func (Instance) AddOutputPort ¶
Adds an output port with the specified 'type' (see [VisualShaderNode.PortType]) and 'name'.
func (Instance) AsRefCounted ¶
func (self Instance) AsRefCounted() [1]gd.RefCounted
func (Instance) AsResource ¶
func (Instance) AsVisualShaderNode ¶
func (self Instance) AsVisualShaderNode() VisualShaderNode.Instance
func (Instance) AsVisualShaderNodeGroupBase ¶
func (Instance) AsVisualShaderNodeResizableBase ¶
func (self Instance) AsVisualShaderNodeResizableBase() VisualShaderNodeResizableBase.Instance
func (Instance) ClearInputPorts ¶
func (self Instance) ClearInputPorts()
Removes all previously specified input ports.
func (Instance) ClearOutputPorts ¶
func (self Instance) ClearOutputPorts()
Removes all previously specified output ports.
func (Instance) GetFreeInputPortId ¶
Returns a free input port ID which can be used in AddInputPort.
func (Instance) GetFreeOutputPortId ¶
Returns a free output port ID which can be used in AddOutputPort.
func (Instance) GetInputPortCount ¶
Returns the number of input ports in use. Alternative for GetFreeInputPortId.
func (Instance) GetInputs ¶
Returns a string description of the input ports as a colon-separated list using the format id,type,name; (see AddInputPort).
func (Instance) GetOutputPortCount ¶
Returns the number of output ports in use. Alternative for GetFreeOutputPortId.
func (Instance) GetOutputs ¶
Returns a string description of the output ports as a colon-separated list using the format id,type,name; (see AddOutputPort).
func (Instance) HasInputPort ¶
Returns true if the specified input port exists.
func (Instance) HasOutputPort ¶
Returns true if the specified output port exists.
func (Instance) IsValidPortName ¶
Returns true if the specified port name does not override an existed port name and is valid within the shader.
func (Instance) RemoveInputPort ¶
Removes the specified input port.
func (Instance) RemoveOutputPort ¶
Removes the specified output port.
func (Instance) SetInputPortName ¶
Renames the specified input port.
func (Instance) SetInputPortType ¶
Sets the specified input port's type (see [VisualShaderNode.PortType]).
func (Instance) SetInputs ¶
Defines all input ports using a string formatted as a colon-separated list: id,type,name; (see AddInputPort).
func (Instance) SetOutputPortName ¶
Renames the specified output port.
func (Instance) SetOutputPortType ¶
Sets the specified output port's type (see [VisualShaderNode.PortType]).
func (Instance) SetOutputs ¶
Defines all output ports using a string formatted as a colon-separated list: id,type,name; (see AddOutputPort).