Table of Contents

Class VisualShaderNodeFrame

Namespace
Godot
Assembly
GodotSharp.dll

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.

public class VisualShaderNodeFrame : VisualShaderNodeResizableBase, IDisposable
Inheritance
VisualShaderNodeFrame
Implements
Derived
Inherited Members

Constructors

VisualShaderNodeFrame()

public VisualShaderNodeFrame()

Properties

AttachedNodes

The list of nodes attached to the frame.

public int[] AttachedNodes { get; set; }

Property Value

int[]

Autoshrink

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

public bool Autoshrink { get; set; }

Property Value

bool

TintColor

The color of the frame when TintColorEnabled is true.

public Color TintColor { get; set; }

Property Value

Color

TintColorEnabled

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

public bool TintColorEnabled { get; set; }

Property Value

bool

Title

The title of the node.

public string Title { get; set; }

Property Value

string

Methods

AddAttachedNode(int)

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

public void AddAttachedNode(int node)

Parameters

node int

HasGodotClassMethod(in godot_string_name)

Check if the type contains a method with the given name. This method is used by Godot to check if a method exists before invoking it. Do not call or override this method.

protected override bool HasGodotClassMethod(in godot_string_name method)

Parameters

method godot_string_name

Name of the method to check for.

Returns

bool

HasGodotClassSignal(in godot_string_name)

Check if the type contains a signal with the given name. This method is used by Godot to check if a signal exists before raising it. Do not call or override this method.

protected override bool HasGodotClassSignal(in godot_string_name signal)

Parameters

signal godot_string_name

Name of the signal to check for.

Returns

bool

InvokeGodotClassMethod(in godot_string_name, NativeVariantPtrArgs, out godot_variant)

Invokes the method with the given name, using the given arguments. This method is used by Godot to invoke methods from the engine side. Do not call or override this method.

protected override bool InvokeGodotClassMethod(in godot_string_name method, NativeVariantPtrArgs args, out godot_variant ret)

Parameters

method godot_string_name

Name of the method to invoke.

args NativeVariantPtrArgs

Arguments to use with the invoked method.

ret godot_variant

Value returned by the invoked method.

Returns

bool

RemoveAttachedNode(int)

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

public void RemoveAttachedNode(int node)

Parameters

node int