Attention: Here be dragons
This is the latest
(unstable) version of this documentation, which may document features
not available in or compatible with released stable versions of Godot.
Checking the stable version of the documentation...
VisualShaderNodeFrame
Hérite de : VisualShaderNodeResizableBase < VisualShaderNode < Resource < RefCounted < Object
Hérité par : VisualShaderNodeComment
A frame other visual shader nodes can be attached to for better organization.
Description
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.
Propriétés
|
||
|
||
|
||
|
||
|
Méthodes
void |
add_attached_node(node: int) |
void |
remove_attached_node(node: int) |
Descriptions des propriétés
PackedInt32Array attached_nodes = PackedInt32Array() 🔗
void set_attached_nodes(value: PackedInt32Array)
PackedInt32Array get_attached_nodes()
The list of nodes attached to the frame.
Note: The returned array is copied and any changes to it will not update the original property value. See PackedInt32Array for more details.
If true, the frame will automatically resize to enclose all attached nodes.
Color tint_color = Color(0.3, 0.3, 0.3, 0.75) 🔗
La couleur de la trame lorsque tint_color_enabled vaut true.
bool tint_color_enabled = false 🔗
If true, the frame will be tinted with the color specified in tint_color.
The title of the node.
Descriptions des méthodes
void add_attached_node(node: int) 🔗
Adds a node to the list of nodes attached to the frame. Should not be called directly, use the VisualShader.attach_node_to_frame() method instead.
void remove_attached_node(node: int) 🔗
Removes a node from the list of nodes attached to the frame. Should not be called directly, use the VisualShader.detach_node_from_frame() method instead.