2018-07-26 09:56:21 +00:00
<?xml version="1.0" encoding="UTF-8" ?>
2020-02-01 01:03:48 +00:00
<class name= "VisualShaderNodeUniform" inherits= "VisualShaderNode" version= "4.0" >
2018-07-26 09:56:21 +00:00
<brief_description >
2020-05-07 09:19:23 +00:00
A base type for the uniforms within the visual shader graph.
2018-07-26 09:56:21 +00:00
</brief_description>
<description >
2020-05-07 09:19:23 +00:00
A uniform represents a variable in the shader which is set externally, i.e. from the [ShaderMaterial]. Uniforms are exposed as properties in the [ShaderMaterial] and can be assigned from the inspector or from a script.
2018-07-26 09:56:21 +00:00
</description>
<tutorials >
</tutorials>
<members >
2020-05-06 08:27:02 +00:00
<member name= "qualifier" type= "int" setter= "set_qualifier" getter= "get_qualifier" enum= "VisualShaderNodeUniform.Qualifier" default= "0" >
</member>
2019-06-29 10:38:01 +00:00
<member name= "uniform_name" type= "String" setter= "set_uniform_name" getter= "get_uniform_name" default= """" >
2020-05-07 09:19:23 +00:00
Name of the uniform, by which it can be accessed through the [ShaderMaterial] properties.
2018-07-26 09:56:21 +00:00
</member>
</members>
<constants >
2020-05-06 08:27:02 +00:00
<constant name= "QUAL_NONE" value= "0" enum= "Qualifier" >
</constant>
<constant name= "QUAL_GLOBAL" value= "1" enum= "Qualifier" >
</constant>
<constant name= "QUAL_INSTANCE" value= "2" enum= "Qualifier" >
</constant>
2021-08-14 10:38:22 +00:00
<constant name= "QUAL_MAX" value= "3" enum= "Qualifier" >
Represents the size of the [enum Qualifier] enum.
</constant>
2018-07-26 09:56:21 +00:00
</constants>
</class>