VisualShader
Inherits: Shader < Resource < RefCounted < Object
There is currently no description for this class. Please help us by contributing one!
Properties
|
Methods
void |
add_node ( Type type, VisualShaderNode node, Vector2 position, int id ) |
void |
add_varying ( String name, VaryingMode mode, VaryingType type ) |
void |
attach_node_to_frame ( Type type, int id, int frame ) |
can_connect_nodes ( Type type, int from_node, int from_port, int to_node, int to_port ) const |
|
connect_nodes ( Type type, int from_node, int from_port, int to_node, int to_port ) |
|
void |
connect_nodes_forced ( Type type, int from_node, int from_port, int to_node, int to_port ) |
void |
detach_node_from_frame ( Type type, int id ) |
void |
disconnect_nodes ( Type type, int from_node, int from_port, int to_node, int to_port ) |
get_node_connections ( Type type ) const |
|
get_node_list ( Type type ) const |
|
get_node_position ( Type type, int id ) const |
|
get_valid_node_id ( Type type ) const |
|
has_varying ( String name ) const |
|
is_node_connection ( Type type, int from_node, int from_port, int to_node, int to_port ) const |
|
void |
remove_node ( Type type, int id ) |
void |
remove_varying ( String name ) |
void |
replace_node ( Type type, int id, StringName new_class ) |
void |
|
void |
set_node_position ( Type type, int id, Vector2 position ) |
Enumerations
enum Type:
Type TYPE_VERTEX = 0
There is currently no description for this enum. Please help us by contributing one!
Type TYPE_FRAGMENT = 1
There is currently no description for this enum. Please help us by contributing one!
Type TYPE_LIGHT = 2
There is currently no description for this enum. Please help us by contributing one!
Type TYPE_START = 3
There is currently no description for this enum. Please help us by contributing one!
Type TYPE_PROCESS = 4
There is currently no description for this enum. Please help us by contributing one!
Type TYPE_COLLIDE = 5
There is currently no description for this enum. Please help us by contributing one!
Type TYPE_START_CUSTOM = 6
There is currently no description for this enum. Please help us by contributing one!
Type TYPE_PROCESS_CUSTOM = 7
There is currently no description for this enum. Please help us by contributing one!
Type TYPE_SKY = 8
There is currently no description for this enum. Please help us by contributing one!
Type TYPE_FOG = 9
There is currently no description for this enum. Please help us by contributing one!
Type TYPE_MAX = 10
There is currently no description for this enum. Please help us by contributing one!
enum VaryingMode:
VaryingMode VARYING_MODE_VERTEX_TO_FRAG_LIGHT = 0
There is currently no description for this enum. Please help us by contributing one!
VaryingMode VARYING_MODE_FRAG_TO_LIGHT = 1
There is currently no description for this enum. Please help us by contributing one!
VaryingMode VARYING_MODE_MAX = 2
There is currently no description for this enum. Please help us by contributing one!
enum VaryingType:
VaryingType VARYING_TYPE_FLOAT = 0
There is currently no description for this enum. Please help us by contributing one!
VaryingType VARYING_TYPE_INT = 1
There is currently no description for this enum. Please help us by contributing one!
VaryingType VARYING_TYPE_UINT = 2
There is currently no description for this enum. Please help us by contributing one!
VaryingType VARYING_TYPE_VECTOR_2D = 3
There is currently no description for this enum. Please help us by contributing one!
VaryingType VARYING_TYPE_VECTOR_3D = 4
There is currently no description for this enum. Please help us by contributing one!
VaryingType VARYING_TYPE_VECTOR_4D = 5
There is currently no description for this enum. Please help us by contributing one!
VaryingType VARYING_TYPE_BOOLEAN = 6
There is currently no description for this enum. Please help us by contributing one!
VaryingType VARYING_TYPE_TRANSFORM = 7
There is currently no description for this enum. Please help us by contributing one!
VaryingType VARYING_TYPE_MAX = 8
There is currently no description for this enum. Please help us by contributing one!
Constants
NODE_ID_INVALID = -1
There is currently no description for this constant. Please help us by contributing one!
NODE_ID_OUTPUT = 0
There is currently no description for this constant. Please help us by contributing one!
Property Descriptions
Vector2 graph_offset = Vector2(0, 0)
There is currently no description for this property. Please help us by contributing one!
Method Descriptions
void add_node ( Type type, VisualShaderNode node, Vector2 position, int id )
There is currently no description for this method. Please help us by contributing one!
void add_varying ( String name, VaryingMode mode, VaryingType type )
There is currently no description for this method. Please help us by contributing one!
void attach_node_to_frame ( Type type, int id, int frame )
There is currently no description for this method. Please help us by contributing one!
bool can_connect_nodes ( Type type, int from_node, int from_port, int to_node, int to_port ) const
There is currently no description for this method. Please help us by contributing one!
Error connect_nodes ( Type type, int from_node, int from_port, int to_node, int to_port )
There is currently no description for this method. Please help us by contributing one!
void connect_nodes_forced ( Type type, int from_node, int from_port, int to_node, int to_port )
There is currently no description for this method. Please help us by contributing one!
void detach_node_from_frame ( Type type, int id )
There is currently no description for this method. Please help us by contributing one!
void disconnect_nodes ( Type type, int from_node, int from_port, int to_node, int to_port )
There is currently no description for this method. Please help us by contributing one!
VisualShaderNode get_node ( Type type, int id ) const
There is currently no description for this method. Please help us by contributing one!
Dictionary[] get_node_connections ( Type type ) const
There is currently no description for this method. Please help us by contributing one!
PackedInt32Array get_node_list ( Type type ) const
There is currently no description for this method. Please help us by contributing one!
Vector2 get_node_position ( Type type, int id ) const
There is currently no description for this method. Please help us by contributing one!
int get_valid_node_id ( Type type ) const
There is currently no description for this method. Please help us by contributing one!
bool has_varying ( String name ) const
There is currently no description for this method. Please help us by contributing one!
bool is_node_connection ( Type type, int from_node, int from_port, int to_node, int to_port ) const
There is currently no description for this method. Please help us by contributing one!
void remove_node ( Type type, int id )
There is currently no description for this method. Please help us by contributing one!
void remove_varying ( String name )
There is currently no description for this method. Please help us by contributing one!
void replace_node ( Type type, int id, StringName new_class )
There is currently no description for this method. Please help us by contributing one!
void set_mode ( Mode mode )
There is currently no description for this method. Please help us by contributing one!
void set_node_position ( Type type, int id, Vector2 position )
There is currently no description for this method. Please help us by contributing one!