VisualShaderNodeGroupBase

package
v0.0.0-...-5fa07e4 Latest Latest
Warning

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

Go to latest
Published: Feb 9, 2025 License: MIT Imports: 22 Imported by: 0

Documentation

Overview

Package VisualShaderNodeGroupBase provides methods for working with VisualShaderNodeGroupBase object instances.

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 Instance

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

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 [param type] (see [enum VisualShaderNode.PortType]) and [param name].

func (Instance) AddOutputPort

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

Adds an output port with the specified [param type] (see [enum VisualShaderNode.PortType]) and [param 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 [method add_input_port].

func (Instance) GetFreeOutputPortId

func (self Instance) GetFreeOutputPortId() int

Returns a free output port ID which can be used in [method add_output_port].

func (Instance) GetInputPortCount

func (self Instance) GetInputPortCount() int

Returns the number of input ports in use. Alternative for [method get_free_input_port_id].

func (Instance) GetInputs

func (self Instance) GetInputs() string

Returns a [String] description of the input ports as a colon-separated list using the format [code]id,type,name;[/code] (see [method add_input_port]).

func (Instance) GetOutputPortCount

func (self Instance) GetOutputPortCount() int

Returns the number of output ports in use. Alternative for [method get_free_output_port_id].

func (Instance) GetOutputs

func (self Instance) GetOutputs() string

Returns a [String] description of the output ports as a colon-separated list using the format [code]id,type,name;[/code] (see [method add_output_port]).

func (Instance) HasInputPort

func (self Instance) HasInputPort(id int) bool

Returns [code]true[/code] if the specified input port exists.

func (Instance) HasOutputPort

func (self Instance) HasOutputPort(id int) bool

Returns [code]true[/code] if the specified output port exists.

func (Instance) IsValidPortName

func (self Instance) IsValidPortName(name string) bool

Returns [code]true[/code] 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 [enum VisualShaderNode.PortType]).

func (Instance) SetInputs

func (self Instance) SetInputs(inputs string)

Defines all input ports using a [String] formatted as a colon-separated list: [code]id,type,name;[/code] (see [method add_input_port]).

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 [enum VisualShaderNode.PortType]).

func (Instance) SetOutputs

func (self Instance) SetOutputs(outputs string)

Defines all output ports using a [String] formatted as a colon-separated list: [code]id,type,name;[/code] (see [method add_output_port]).

func (*Instance) UnsafePointer

func (self *Instance) UnsafePointer() unsafe.Pointer

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