.. Generated automatically by doc/tools/makerst.py in Godot's source tree. .. DO NOT EDIT THIS FILE, but the doc/base/classes.xml source instead. .. _class_ShaderGraph: ShaderGraph =========== **Inherits:** :ref:`Shader` **<** :ref:`Resource` **<** :ref:`Reference` **<** :ref:`Object` **Inherited By:** :ref:`MaterialShaderGraph`, :ref:`CanvasItemShaderGraph` **Category:** Core Brief Description ----------------- Member Functions ---------------- +------------------------------------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | void | :ref:`clear` **(** :ref:`int` shader_type **)** | +------------------------------------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :ref:`ColorArray` | :ref:`color_ramp_node_get_colors` **(** :ref:`int` shader_type, :ref:`int` id **)** const | +------------------------------------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :ref:`RealArray` | :ref:`color_ramp_node_get_offsets` **(** :ref:`int` shader_type, :ref:`int` id **)** const | +------------------------------------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | void | :ref:`color_ramp_node_set_ramp` **(** :ref:`int` shader_type, :ref:`int` id, :ref:`ColorArray` colors, :ref:`RealArray` offsets **)** | +------------------------------------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :ref:`String` | :ref:`comment_node_get_text` **(** :ref:`int` shader_type, :ref:`int` id **)** const | +------------------------------------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | void | :ref:`comment_node_set_text` **(** :ref:`int` shader_type, :ref:`int` id, :ref:`String` text **)** | +------------------------------------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | Error | :ref:`connect_node` **(** :ref:`int` shader_type, :ref:`int` src_id, :ref:`int` src_slot, :ref:`int` dst_id, :ref:`int` dst_slot **)** | +------------------------------------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :ref:`CubeMap` | :ref:`cubemap_input_node_get_value` **(** :ref:`int` shader_type, :ref:`int` id **)** const | +------------------------------------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | void | :ref:`cubemap_input_node_set_value` **(** :ref:`int` shader_type, :ref:`int` id, :ref:`CubeMap` value **)** | +------------------------------------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :ref:`Vector2Array` | :ref:`curve_map_node_get_points` **(** :ref:`int` shader_type, :ref:`int` id **)** const | +------------------------------------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | void | :ref:`curve_map_node_set_points` **(** :ref:`int` shader_type, :ref:`int` id, :ref:`Vector2Array` points **)** | +------------------------------------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | void | :ref:`default_get_value` **(** :ref:`int` shader_type, :ref:`int` id, :ref:`int` param_id **)** | +------------------------------------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | void | :ref:`default_set_value` **(** :ref:`int` shader_type, :ref:`int` id, :ref:`int` param_id, :ref:`Variant` value **)** | +------------------------------------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | void | :ref:`disconnect_node` **(** :ref:`int` shader_type, :ref:`int` src_id, :ref:`int` src_slot, :ref:`int` dst_id, :ref:`int` dst_slot **)** | +------------------------------------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :ref:`Array` | :ref:`get_node_connections` **(** :ref:`int` shader_type **)** const | +------------------------------------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :ref:`Array` | :ref:`get_node_list` **(** :ref:`int` shader_type **)** const | +------------------------------------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :ref:`String` | :ref:`input_node_get_name` **(** :ref:`int` shader_type, :ref:`int` id **)** | +------------------------------------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | void | :ref:`input_node_set_name` **(** :ref:`int` shader_type, :ref:`int` id, :ref:`String` name **)** | +------------------------------------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :ref:`bool` | :ref:`is_node_connected` **(** :ref:`int` shader_type, :ref:`int` src_id, :ref:`int` src_slot, :ref:`int` dst_id, :ref:`int` dst_slot **)** const | +------------------------------------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | void | :ref:`node_add` **(** :ref:`int` shader_type, :ref:`int` node_type, :ref:`int` id **)** | +------------------------------------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :ref:`Vector2` | :ref:`node_get_pos` **(** :ref:`int` shader_type, :ref:`int` id **)** const | +------------------------------------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :ref:`Variant` | :ref:`node_get_state` **(** :ref:`int` shader_type, :ref:`int` id **)** const | +------------------------------------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :ref:`int` | :ref:`node_get_type` **(** :ref:`int` shader_type, :ref:`int` id **)** const | +------------------------------------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | void | :ref:`node_remove` **(** :ref:`int` shader_type, :ref:`int` id **)** | +------------------------------------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | void | :ref:`node_set_pos` **(** :ref:`int` shader_type, :ref:`int` id, :ref:`Vector2` pos **)** | +------------------------------------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | void | :ref:`node_set_state` **(** :ref:`int` shader_type, :ref:`int` id, :ref:`Variant` state **)** | +------------------------------------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :ref:`Color` | :ref:`rgb_const_node_get_value` **(** :ref:`int` shader_type, :ref:`int` id **)** const | +------------------------------------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | void | :ref:`rgb_const_node_set_value` **(** :ref:`int` shader_type, :ref:`int` id, :ref:`Color` value **)** | +------------------------------------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :ref:`Color` | :ref:`rgb_input_node_get_value` **(** :ref:`int` shader_type, :ref:`int` id **)** const | +------------------------------------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | void | :ref:`rgb_input_node_set_value` **(** :ref:`int` shader_type, :ref:`int` id, :ref:`Color` value **)** | +------------------------------------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :ref:`int` | :ref:`rgb_op_node_get_op` **(** :ref:`int` shader_type, :ref:`float` id **)** const | +------------------------------------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | void | :ref:`rgb_op_node_set_op` **(** :ref:`int` shader_type, :ref:`float` id, :ref:`int` op **)** | +------------------------------------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :ref:`float` | :ref:`scalar_const_node_get_value` **(** :ref:`int` shader_type, :ref:`int` id **)** const | +------------------------------------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | void | :ref:`scalar_const_node_set_value` **(** :ref:`int` shader_type, :ref:`int` id, :ref:`float` value **)** | +------------------------------------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :ref:`int` | :ref:`scalar_func_node_get_function` **(** :ref:`int` shader_type, :ref:`int` id **)** const | +------------------------------------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | void | :ref:`scalar_func_node_set_function` **(** :ref:`int` shader_type, :ref:`int` id, :ref:`int` func **)** | +------------------------------------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :ref:`float` | :ref:`scalar_input_node_get_value` **(** :ref:`int` shader_type, :ref:`int` id **)** const | +------------------------------------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | void | :ref:`scalar_input_node_set_value` **(** :ref:`int` shader_type, :ref:`int` id, :ref:`float` value **)** | +------------------------------------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :ref:`int` | :ref:`scalar_op_node_get_op` **(** :ref:`int` shader_type, :ref:`float` id **)** const | +------------------------------------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | void | :ref:`scalar_op_node_set_op` **(** :ref:`int` shader_type, :ref:`float` id, :ref:`int` op **)** | +------------------------------------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :ref:`Texture` | :ref:`texture_input_node_get_value` **(** :ref:`int` shader_type, :ref:`int` id **)** const | +------------------------------------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | void | :ref:`texture_input_node_set_value` **(** :ref:`int` shader_type, :ref:`int` id, :ref:`Texture` value **)** | +------------------------------------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :ref:`int` | :ref:`texture_node_get_filter_size` **(** :ref:`int` shader_type, :ref:`int` id **)** const | +------------------------------------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :ref:`float` | :ref:`texture_node_get_filter_strength` **(** :ref:`int` shader_type, :ref:`float` id **)** const | +------------------------------------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | void | :ref:`texture_node_set_filter_size` **(** :ref:`int` shader_type, :ref:`int` id, :ref:`int` filter_size **)** | +------------------------------------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | void | :ref:`texture_node_set_filter_strength` **(** :ref:`int` shader_type, :ref:`float` id, :ref:`float` filter_strength **)** | +------------------------------------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :ref:`Vector3` | :ref:`vec_const_node_get_value` **(** :ref:`int` shader_type, :ref:`int` id **)** const | +------------------------------------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | void | :ref:`vec_const_node_set_value` **(** :ref:`int` shader_type, :ref:`int` id, :ref:`Vector3` value **)** | +------------------------------------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :ref:`int` | :ref:`vec_func_node_get_function` **(** :ref:`int` shader_type, :ref:`int` id **)** const | +------------------------------------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | void | :ref:`vec_func_node_set_function` **(** :ref:`int` shader_type, :ref:`int` id, :ref:`int` func **)** | +------------------------------------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :ref:`Vector3` | :ref:`vec_input_node_get_value` **(** :ref:`int` shader_type, :ref:`int` id **)** const | +------------------------------------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | void | :ref:`vec_input_node_set_value` **(** :ref:`int` shader_type, :ref:`int` id, :ref:`Vector3` value **)** | +------------------------------------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :ref:`int` | :ref:`vec_op_node_get_op` **(** :ref:`int` shader_type, :ref:`float` id **)** const | +------------------------------------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | void | :ref:`vec_op_node_set_op` **(** :ref:`int` shader_type, :ref:`float` id, :ref:`int` op **)** | +------------------------------------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :ref:`int` | :ref:`vec_scalar_op_node_get_op` **(** :ref:`int` shader_type, :ref:`float` id **)** const | +------------------------------------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | void | :ref:`vec_scalar_op_node_set_op` **(** :ref:`int` shader_type, :ref:`float` id, :ref:`int` op **)** | +------------------------------------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :ref:`Transform` | :ref:`xform_const_node_get_value` **(** :ref:`int` shader_type, :ref:`int` id **)** const | +------------------------------------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | void | :ref:`xform_const_node_set_value` **(** :ref:`int` shader_type, :ref:`int` id, :ref:`Transform` value **)** | +------------------------------------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :ref:`Transform` | :ref:`xform_input_node_get_value` **(** :ref:`int` shader_type, :ref:`int` id **)** const | +------------------------------------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | void | :ref:`xform_input_node_set_value` **(** :ref:`int` shader_type, :ref:`int` id, :ref:`Transform` value **)** | +------------------------------------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :ref:`bool` | :ref:`xform_vec_mult_node_get_no_translation` **(** :ref:`int` shader_type, :ref:`int` id **)** const | +------------------------------------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | void | :ref:`xform_vec_mult_node_set_no_translation` **(** :ref:`int` shader_type, :ref:`int` id, :ref:`bool` disable **)** | +------------------------------------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ Signals ------- - **updated** **(** **)** Numeric Constants ----------------- - **NODE_INPUT** = **0** - **NODE_SCALAR_CONST** = **1** - **NODE_VEC_CONST** = **2** - **NODE_RGB_CONST** = **3** - **NODE_XFORM_CONST** = **4** - **NODE_TIME** = **5** - **NODE_SCREEN_TEX** = **6** - **NODE_SCALAR_OP** = **7** - **NODE_VEC_OP** = **8** - **NODE_VEC_SCALAR_OP** = **9** - **NODE_RGB_OP** = **10** - **NODE_XFORM_MULT** = **11** - **NODE_XFORM_VEC_MULT** = **12** - **NODE_XFORM_VEC_INV_MULT** = **13** - **NODE_SCALAR_FUNC** = **14** - **NODE_VEC_FUNC** = **15** - **NODE_VEC_LEN** = **16** - **NODE_DOT_PROD** = **17** - **NODE_VEC_TO_SCALAR** = **18** - **NODE_SCALAR_TO_VEC** = **19** - **NODE_VEC_TO_XFORM** = **21** - **NODE_XFORM_TO_VEC** = **20** - **NODE_SCALAR_INTERP** = **22** - **NODE_VEC_INTERP** = **23** - **NODE_COLOR_RAMP** = **24** - **NODE_CURVE_MAP** = **25** - **NODE_SCALAR_INPUT** = **26** - **NODE_VEC_INPUT** = **27** - **NODE_RGB_INPUT** = **28** - **NODE_XFORM_INPUT** = **29** - **NODE_TEXTURE_INPUT** = **30** - **NODE_CUBEMAP_INPUT** = **31** - **NODE_DEFAULT_TEXTURE** = **32** - **NODE_OUTPUT** = **33** - **NODE_COMMENT** = **34** - **NODE_TYPE_MAX** = **35** - **SLOT_TYPE_SCALAR** = **0** - **SLOT_TYPE_VEC** = **1** - **SLOT_TYPE_XFORM** = **2** - **SLOT_TYPE_TEXTURE** = **3** - **SLOT_MAX** = **4** - **SHADER_TYPE_VERTEX** = **0** - **SHADER_TYPE_FRAGMENT** = **1** - **SHADER_TYPE_LIGHT** = **2** - **SHADER_TYPE_MAX** = **3** - **SLOT_IN** = **0** - **SLOT_OUT** = **1** - **GRAPH_OK** = **0** - **GRAPH_ERROR_CYCLIC** = **1** - **GRAPH_ERROR_MISSING_CONNECTIONS** = **2** - **SCALAR_OP_ADD** = **0** - **SCALAR_OP_SUB** = **1** - **SCALAR_OP_MUL** = **2** - **SCALAR_OP_DIV** = **3** - **SCALAR_OP_MOD** = **4** - **SCALAR_OP_POW** = **5** - **SCALAR_OP_MAX** = **6** - **SCALAR_OP_MIN** = **7** - **SCALAR_OP_ATAN2** = **8** - **SCALAR_MAX_OP** = **9** - **VEC_OP_ADD** = **0** - **VEC_OP_SUB** = **1** - **VEC_OP_MUL** = **2** - **VEC_OP_DIV** = **3** - **VEC_OP_MOD** = **4** - **VEC_OP_POW** = **5** - **VEC_OP_MAX** = **6** - **VEC_OP_MIN** = **7** - **VEC_OP_CROSS** = **8** - **VEC_MAX_OP** = **9** - **VEC_SCALAR_OP_MUL** = **0** - **VEC_SCALAR_OP_DIV** = **1** - **VEC_SCALAR_OP_POW** = **2** - **VEC_SCALAR_MAX_OP** = **3** - **RGB_OP_SCREEN** = **0** - **RGB_OP_DIFFERENCE** = **1** - **RGB_OP_DARKEN** = **2** - **RGB_OP_LIGHTEN** = **3** - **RGB_OP_OVERLAY** = **4** - **RGB_OP_DODGE** = **5** - **RGB_OP_BURN** = **6** - **RGB_OP_SOFT_LIGHT** = **7** - **RGB_OP_HARD_LIGHT** = **8** - **RGB_MAX_OP** = **9** - **SCALAR_FUNC_SIN** = **0** - **SCALAR_FUNC_COS** = **1** - **SCALAR_FUNC_TAN** = **2** - **SCALAR_FUNC_ASIN** = **3** - **SCALAR_FUNC_ACOS** = **4** - **SCALAR_FUNC_ATAN** = **5** - **SCALAR_FUNC_SINH** = **6** - **SCALAR_FUNC_COSH** = **7** - **SCALAR_FUNC_TANH** = **8** - **SCALAR_FUNC_LOG** = **9** - **SCALAR_FUNC_EXP** = **10** - **SCALAR_FUNC_SQRT** = **11** - **SCALAR_FUNC_ABS** = **12** - **SCALAR_FUNC_SIGN** = **13** - **SCALAR_FUNC_FLOOR** = **14** - **SCALAR_FUNC_ROUND** = **15** - **SCALAR_FUNC_CEIL** = **16** - **SCALAR_FUNC_FRAC** = **17** - **SCALAR_FUNC_SATURATE** = **18** - **SCALAR_FUNC_NEGATE** = **19** - **SCALAR_MAX_FUNC** = **20** - **VEC_FUNC_NORMALIZE** = **0** - **VEC_FUNC_SATURATE** = **1** - **VEC_FUNC_NEGATE** = **2** - **VEC_FUNC_RECIPROCAL** = **3** - **VEC_FUNC_RGB2HSV** = **4** - **VEC_FUNC_HSV2RGB** = **5** - **VEC_MAX_FUNC** = **6** Member Function Description --------------------------- .. _class_ShaderGraph_clear: - void **clear** **(** :ref:`int` shader_type **)** .. _class_ShaderGraph_color_ramp_node_get_colors: - :ref:`ColorArray` **color_ramp_node_get_colors** **(** :ref:`int` shader_type, :ref:`int` id **)** const .. _class_ShaderGraph_color_ramp_node_get_offsets: - :ref:`RealArray` **color_ramp_node_get_offsets** **(** :ref:`int` shader_type, :ref:`int` id **)** const .. _class_ShaderGraph_color_ramp_node_set_ramp: - void **color_ramp_node_set_ramp** **(** :ref:`int` shader_type, :ref:`int` id, :ref:`ColorArray` colors, :ref:`RealArray` offsets **)** .. _class_ShaderGraph_comment_node_get_text: - :ref:`String` **comment_node_get_text** **(** :ref:`int` shader_type, :ref:`int` id **)** const .. _class_ShaderGraph_comment_node_set_text: - void **comment_node_set_text** **(** :ref:`int` shader_type, :ref:`int` id, :ref:`String` text **)** .. _class_ShaderGraph_connect_node: - Error **connect_node** **(** :ref:`int` shader_type, :ref:`int` src_id, :ref:`int` src_slot, :ref:`int` dst_id, :ref:`int` dst_slot **)** .. _class_ShaderGraph_cubemap_input_node_get_value: - :ref:`CubeMap` **cubemap_input_node_get_value** **(** :ref:`int` shader_type, :ref:`int` id **)** const .. _class_ShaderGraph_cubemap_input_node_set_value: - void **cubemap_input_node_set_value** **(** :ref:`int` shader_type, :ref:`int` id, :ref:`CubeMap` value **)** .. _class_ShaderGraph_curve_map_node_get_points: - :ref:`Vector2Array` **curve_map_node_get_points** **(** :ref:`int` shader_type, :ref:`int` id **)** const .. _class_ShaderGraph_curve_map_node_set_points: - void **curve_map_node_set_points** **(** :ref:`int` shader_type, :ref:`int` id, :ref:`Vector2Array` points **)** .. _class_ShaderGraph_default_get_value: - void **default_get_value** **(** :ref:`int` shader_type, :ref:`int` id, :ref:`int` param_id **)** .. _class_ShaderGraph_default_set_value: - void **default_set_value** **(** :ref:`int` shader_type, :ref:`int` id, :ref:`int` param_id, :ref:`Variant` value **)** .. _class_ShaderGraph_disconnect_node: - void **disconnect_node** **(** :ref:`int` shader_type, :ref:`int` src_id, :ref:`int` src_slot, :ref:`int` dst_id, :ref:`int` dst_slot **)** .. _class_ShaderGraph_get_node_connections: - :ref:`Array` **get_node_connections** **(** :ref:`int` shader_type **)** const .. _class_ShaderGraph_get_node_list: - :ref:`Array` **get_node_list** **(** :ref:`int` shader_type **)** const .. _class_ShaderGraph_input_node_get_name: - :ref:`String` **input_node_get_name** **(** :ref:`int` shader_type, :ref:`int` id **)** .. _class_ShaderGraph_input_node_set_name: - void **input_node_set_name** **(** :ref:`int` shader_type, :ref:`int` id, :ref:`String` name **)** .. _class_ShaderGraph_is_node_connected: - :ref:`bool` **is_node_connected** **(** :ref:`int` shader_type, :ref:`int` src_id, :ref:`int` src_slot, :ref:`int` dst_id, :ref:`int` dst_slot **)** const .. _class_ShaderGraph_node_add: - void **node_add** **(** :ref:`int` shader_type, :ref:`int` node_type, :ref:`int` id **)** .. _class_ShaderGraph_node_get_pos: - :ref:`Vector2` **node_get_pos** **(** :ref:`int` shader_type, :ref:`int` id **)** const .. _class_ShaderGraph_node_get_state: - :ref:`Variant` **node_get_state** **(** :ref:`int` shader_type, :ref:`int` id **)** const .. _class_ShaderGraph_node_get_type: - :ref:`int` **node_get_type** **(** :ref:`int` shader_type, :ref:`int` id **)** const .. _class_ShaderGraph_node_remove: - void **node_remove** **(** :ref:`int` shader_type, :ref:`int` id **)** .. _class_ShaderGraph_node_set_pos: - void **node_set_pos** **(** :ref:`int` shader_type, :ref:`int` id, :ref:`Vector2` pos **)** .. _class_ShaderGraph_node_set_state: - void **node_set_state** **(** :ref:`int` shader_type, :ref:`int` id, :ref:`Variant` state **)** .. _class_ShaderGraph_rgb_const_node_get_value: - :ref:`Color` **rgb_const_node_get_value** **(** :ref:`int` shader_type, :ref:`int` id **)** const .. _class_ShaderGraph_rgb_const_node_set_value: - void **rgb_const_node_set_value** **(** :ref:`int` shader_type, :ref:`int` id, :ref:`Color` value **)** .. _class_ShaderGraph_rgb_input_node_get_value: - :ref:`Color` **rgb_input_node_get_value** **(** :ref:`int` shader_type, :ref:`int` id **)** const .. _class_ShaderGraph_rgb_input_node_set_value: - void **rgb_input_node_set_value** **(** :ref:`int` shader_type, :ref:`int` id, :ref:`Color` value **)** .. _class_ShaderGraph_rgb_op_node_get_op: - :ref:`int` **rgb_op_node_get_op** **(** :ref:`int` shader_type, :ref:`float` id **)** const .. _class_ShaderGraph_rgb_op_node_set_op: - void **rgb_op_node_set_op** **(** :ref:`int` shader_type, :ref:`float` id, :ref:`int` op **)** .. _class_ShaderGraph_scalar_const_node_get_value: - :ref:`float` **scalar_const_node_get_value** **(** :ref:`int` shader_type, :ref:`int` id **)** const .. _class_ShaderGraph_scalar_const_node_set_value: - void **scalar_const_node_set_value** **(** :ref:`int` shader_type, :ref:`int` id, :ref:`float` value **)** .. _class_ShaderGraph_scalar_func_node_get_function: - :ref:`int` **scalar_func_node_get_function** **(** :ref:`int` shader_type, :ref:`int` id **)** const .. _class_ShaderGraph_scalar_func_node_set_function: - void **scalar_func_node_set_function** **(** :ref:`int` shader_type, :ref:`int` id, :ref:`int` func **)** .. _class_ShaderGraph_scalar_input_node_get_value: - :ref:`float` **scalar_input_node_get_value** **(** :ref:`int` shader_type, :ref:`int` id **)** const .. _class_ShaderGraph_scalar_input_node_set_value: - void **scalar_input_node_set_value** **(** :ref:`int` shader_type, :ref:`int` id, :ref:`float` value **)** .. _class_ShaderGraph_scalar_op_node_get_op: - :ref:`int` **scalar_op_node_get_op** **(** :ref:`int` shader_type, :ref:`float` id **)** const .. _class_ShaderGraph_scalar_op_node_set_op: - void **scalar_op_node_set_op** **(** :ref:`int` shader_type, :ref:`float` id, :ref:`int` op **)** .. _class_ShaderGraph_texture_input_node_get_value: - :ref:`Texture` **texture_input_node_get_value** **(** :ref:`int` shader_type, :ref:`int` id **)** const .. _class_ShaderGraph_texture_input_node_set_value: - void **texture_input_node_set_value** **(** :ref:`int` shader_type, :ref:`int` id, :ref:`Texture` value **)** .. _class_ShaderGraph_texture_node_get_filter_size: - :ref:`int` **texture_node_get_filter_size** **(** :ref:`int` shader_type, :ref:`int` id **)** const .. _class_ShaderGraph_texture_node_get_filter_strength: - :ref:`float` **texture_node_get_filter_strength** **(** :ref:`int` shader_type, :ref:`float` id **)** const .. _class_ShaderGraph_texture_node_set_filter_size: - void **texture_node_set_filter_size** **(** :ref:`int` shader_type, :ref:`int` id, :ref:`int` filter_size **)** .. _class_ShaderGraph_texture_node_set_filter_strength: - void **texture_node_set_filter_strength** **(** :ref:`int` shader_type, :ref:`float` id, :ref:`float` filter_strength **)** .. _class_ShaderGraph_vec_const_node_get_value: - :ref:`Vector3` **vec_const_node_get_value** **(** :ref:`int` shader_type, :ref:`int` id **)** const .. _class_ShaderGraph_vec_const_node_set_value: - void **vec_const_node_set_value** **(** :ref:`int` shader_type, :ref:`int` id, :ref:`Vector3` value **)** .. _class_ShaderGraph_vec_func_node_get_function: - :ref:`int` **vec_func_node_get_function** **(** :ref:`int` shader_type, :ref:`int` id **)** const .. _class_ShaderGraph_vec_func_node_set_function: - void **vec_func_node_set_function** **(** :ref:`int` shader_type, :ref:`int` id, :ref:`int` func **)** .. _class_ShaderGraph_vec_input_node_get_value: - :ref:`Vector3` **vec_input_node_get_value** **(** :ref:`int` shader_type, :ref:`int` id **)** const .. _class_ShaderGraph_vec_input_node_set_value: - void **vec_input_node_set_value** **(** :ref:`int` shader_type, :ref:`int` id, :ref:`Vector3` value **)** .. _class_ShaderGraph_vec_op_node_get_op: - :ref:`int` **vec_op_node_get_op** **(** :ref:`int` shader_type, :ref:`float` id **)** const .. _class_ShaderGraph_vec_op_node_set_op: - void **vec_op_node_set_op** **(** :ref:`int` shader_type, :ref:`float` id, :ref:`int` op **)** .. _class_ShaderGraph_vec_scalar_op_node_get_op: - :ref:`int` **vec_scalar_op_node_get_op** **(** :ref:`int` shader_type, :ref:`float` id **)** const .. _class_ShaderGraph_vec_scalar_op_node_set_op: - void **vec_scalar_op_node_set_op** **(** :ref:`int` shader_type, :ref:`float` id, :ref:`int` op **)** .. _class_ShaderGraph_xform_const_node_get_value: - :ref:`Transform` **xform_const_node_get_value** **(** :ref:`int` shader_type, :ref:`int` id **)** const .. _class_ShaderGraph_xform_const_node_set_value: - void **xform_const_node_set_value** **(** :ref:`int` shader_type, :ref:`int` id, :ref:`Transform` value **)** .. _class_ShaderGraph_xform_input_node_get_value: - :ref:`Transform` **xform_input_node_get_value** **(** :ref:`int` shader_type, :ref:`int` id **)** const .. _class_ShaderGraph_xform_input_node_set_value: - void **xform_input_node_set_value** **(** :ref:`int` shader_type, :ref:`int` id, :ref:`Transform` value **)** .. _class_ShaderGraph_xform_vec_mult_node_get_no_translation: - :ref:`bool` **xform_vec_mult_node_get_no_translation** **(** :ref:`int` shader_type, :ref:`int` id **)** const .. _class_ShaderGraph_xform_vec_mult_node_set_no_translation: - void **xform_vec_mult_node_set_no_translation** **(** :ref:`int` shader_type, :ref:`int` id, :ref:`bool` disable **)**