VisualShaderNodeGroupBase

package
v0.0.0-...-357ca8a Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 20, 2025 License: MIT Imports: 26 Imported by: 0

Documentation

Overview

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

Index

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 Any

type Any interface {
	gd.IsClass
	AsVisualShaderNodeGroupBase() Instance
}

type Extension

type Extension[T gdclass.Interface] struct{ gdclass.Extension[T, Instance] }

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]) AsObject

func (self *Extension[T]) AsObject() [1]gd.Object

func (*Extension[T]) AsRefCounted

func (self *Extension[T]) AsRefCounted() [1]gd.RefCounted

func (*Extension[T]) AsResource

func (self *Extension[T]) AsResource() Resource.Instance

func (*Extension[T]) AsVisualShaderNode

func (self *Extension[T]) AsVisualShaderNode() VisualShaderNode.Instance

func (*Extension[T]) AsVisualShaderNodeGroupBase

func (self *Extension[T]) AsVisualShaderNodeGroupBase() Instance

func (*Extension[T]) AsVisualShaderNodeResizableBase

func (self *Extension[T]) AsVisualShaderNodeResizableBase() VisualShaderNodeResizableBase.Instance

type ID

type ID Object.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.

func (ID) Instance

func (id ID) Instance() (Instance, bool)

type Instance

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 New

func New() Instance

func (Instance) AddInputPort

func (self Instance) AddInputPort(id int, atype int, name string)

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

func (Instance) AddOutputPort

func (self Instance) AddOutputPort(id int, atype int, name string)

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

func (Instance) AsObject

func (self Instance) AsObject() [1]gd.Object

func (Instance) AsRefCounted

func (self Instance) AsRefCounted() [1]gd.RefCounted

func (Instance) AsResource

func (self Instance) AsResource() Resource.Instance

func (Instance) AsVisualShaderNode

func (self Instance) AsVisualShaderNode() VisualShaderNode.Instance

func (Instance) AsVisualShaderNodeGroupBase

func (self Instance) AsVisualShaderNodeGroupBase() Instance

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

func (self Instance) GetFreeInputPortId() int

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

func (Instance) GetFreeOutputPortId

func (self Instance) GetFreeOutputPortId() int

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

func (Instance) GetInputPortCount

func (self Instance) GetInputPortCount() int

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

func (Instance) GetInputs

func (self Instance) GetInputs() string

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

func (Instance) GetOutputPortCount

func (self Instance) GetOutputPortCount() int

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

func (Instance) GetOutputs

func (self Instance) GetOutputs() string

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

func (Instance) HasInputPort

func (self Instance) HasInputPort(id int) bool

Returns true if the specified input port exists.

func (Instance) HasOutputPort

func (self Instance) HasOutputPort(id int) bool

Returns true if the specified output port exists.

func (Instance) ID

func (self Instance) ID() ID

func (Instance) IsValidPortName

func (self Instance) IsValidPortName(name string) bool

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

func (Instance) RemoveInputPort

func (self Instance) RemoveInputPort(id int)

Removes the specified input port.

func (Instance) RemoveOutputPort

func (self Instance) RemoveOutputPort(id int)

Removes the specified output port.

func (Instance) SetInputPortName

func (self Instance) SetInputPortName(id int, name string)

Renames the specified input port.

func (Instance) SetInputPortType

func (self Instance) SetInputPortType(id int, atype int)

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

func (Instance) SetInputs

func (self Instance) SetInputs(inputs string)

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

func (*Instance) SetObject

func (self *Instance) SetObject(obj [1]gd.Object) bool

func (Instance) SetOutputPortName

func (self Instance) SetOutputPortName(id int, name string)

Renames the specified output port.

func (Instance) SetOutputPortType

func (self Instance) SetOutputPortType(id int, atype int)

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

func (Instance) SetOutputs

func (self Instance) SetOutputs(outputs string)

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

func (Instance) Virtual

func (self Instance) Virtual(name string) reflect.Value

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL