VisualShaderNodeFrame

package
v0.0.0-...-9b8b246 Latest Latest
Warning

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

Go to latest
Published: Sep 23, 2025 License: MIT Imports: 27 Imported by: 0

Documentation

Overview

A rectangular frame that can be used to group visual shader nodes together to improve organization.

Nodes attached to the frame will move with it when it is dragged and it can automatically resize to enclose all attached nodes.

Its title, description and color can be customized.

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
	AsVisualShaderNodeFrame() 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]) AsVisualShaderNodeFrame

func (self *Extension[T]) AsVisualShaderNodeFrame() 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

type Instance [1]gdclass.VisualShaderNodeFrame

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) AddAttachedNode

func (self Instance) AddAttachedNode(node int)

Adds a node to the list of nodes attached to the frame. Should not be called directly, use the VisualShader.AttachNodeToFrame method instead.

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) AsVisualShaderNodeFrame

func (self Instance) AsVisualShaderNodeFrame() Instance

func (Instance) AsVisualShaderNodeResizableBase

func (self Instance) AsVisualShaderNodeResizableBase() VisualShaderNodeResizableBase.Instance

func (Instance) AttachedNodes

func (self Instance) AttachedNodes() []int32

The list of nodes attached to the frame.

func (Instance) Autoshrink

func (self Instance) Autoshrink() bool

If true, the frame will automatically resize to enclose all attached nodes.

func (Instance) ID

func (self Instance) ID() ID

func (Instance) RemoveAttachedNode

func (self Instance) RemoveAttachedNode(node int)

Removes a node from the list of nodes attached to the frame. Should not be called directly, use the VisualShader.DetachNodeFromFrame method instead.

func (Instance) SetAttachedNodes

func (self Instance) SetAttachedNodes(value []int32)

SetAttachedNodes sets the property returned by [GetAttachedNodes].

func (Instance) SetAutoshrink

func (self Instance) SetAutoshrink(value bool)

SetAutoshrink sets the property returned by [IsAutoshrinkEnabled].

func (*Instance) SetObject

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

func (Instance) SetTintColor

func (self Instance) SetTintColor(value Color.RGBA)

SetTintColor sets the property returned by [GetTintColor].

func (Instance) SetTintColorEnabled

func (self Instance) SetTintColorEnabled(value bool)

SetTintColorEnabled sets the property returned by [IsTintColorEnabled].

func (Instance) SetTitle

func (self Instance) SetTitle(value string)

SetTitle sets the property returned by [GetTitle].

func (Instance) TintColor

func (self Instance) TintColor() Color.RGBA

The color of the frame when TintColorEnabled is true.

func (Instance) TintColorEnabled

func (self Instance) TintColorEnabled() bool

If true, the frame will be tinted with the color specified in TintColor.

func (Instance) Title

func (self Instance) Title() string

The title of the node.

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