2022-08-27 11:22:43 +02:00
<?xml version="1.0" encoding="UTF-8" ?>
2023-07-06 10:08:05 +02:00
<class name= "VisualShaderNodeParameter" inherits= "VisualShaderNode" xmlns:xsi= "http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation= "../class.xsd" >
2022-08-27 11:22:43 +02:00
<brief_description >
A base type for the parameters within the visual shader graph.
</brief_description>
<description >
2022-10-27 16:24:10 +02:00
A parameter represents a variable in the shader which is set externally, i.e. from the [ShaderMaterial]. Parameters are exposed as properties in the [ShaderMaterial] and can be assigned from the Inspector or from a script.
2022-08-27 11:22:43 +02:00
</description>
<tutorials >
</tutorials>
<members >
<member name= "parameter_name" type= "String" setter= "set_parameter_name" getter= "get_parameter_name" default= """" >
Name of the parameter, by which it can be accessed through the [ShaderMaterial] properties.
</member>
<member name= "qualifier" type= "int" setter= "set_qualifier" getter= "get_qualifier" enum= "VisualShaderNodeParameter.Qualifier" default= "0" >
2022-12-07 15:59:34 +01:00
Defines the scope of the parameter.
2022-08-27 11:22:43 +02:00
</member>
</members>
<constants >
<constant name= "QUAL_NONE" value= "0" enum= "Qualifier" >
2022-12-07 15:59:34 +01:00
The parameter will be tied to the [ShaderMaterial] using this shader.
2022-08-27 11:22:43 +02:00
</constant>
<constant name= "QUAL_GLOBAL" value= "1" enum= "Qualifier" >
2022-12-07 15:59:34 +01:00
The parameter will use a global value, defined in Project Settings.
2022-08-27 11:22:43 +02:00
</constant>
<constant name= "QUAL_INSTANCE" value= "2" enum= "Qualifier" >
2022-12-07 15:59:34 +01:00
The parameter will be tied to the node with attached [ShaderMaterial] using this shader.
2022-08-27 11:22:43 +02:00
</constant>
<constant name= "QUAL_MAX" value= "3" enum= "Qualifier" >
Represents the size of the [enum Qualifier] enum.
</constant>
</constants>
</class>