VisualShader¶
Inherits: Shader < Resource < Reference < Object
类别: 核心
简要说明¶
属性¶
矢量2(0,0) |
方法¶
无效 |
add_node ( Type type, VisualShaderNode node, Vector2 position, int id ) |
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 ) |
|
无效 |
connect_nodes_forced ( Type type, int from_node, int from_port, int to_node, int to_port ) |
无效 |
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 |
|
is_node_connection ( Type type, int from_node, int from_port, int to_node, int to_port ) const |
|
无效 |
rebuild ( ) |
无效 |
remove_node ( Type type, int id ) |
无效 |
|
无效 |
set_node_position ( Type type, int id, Vector2 position ) |
常量¶
NODE_ID_INVALID = -1
NODE_ID_OUTPUT = 0
方法说明¶
void add_node ( Type type, VisualShaderNode node, Vector2 position, int id )
VisualShaderNode get_node ( Type type, int id ) const
PoolIntArray get_node_list ( Type type ) const
void rebuild ( )
void set_mode ( Mode mode )