VisualShaderNodeUniform.xml 813 B

1234567891011121314151617181920
  1. <?xml version="1.0" encoding="UTF-8" ?>
  2. <class name="VisualShaderNodeUniform" inherits="VisualShaderNode" version="3.4">
  3. <brief_description>
  4. A base type for the uniforms within the visual shader graph.
  5. </brief_description>
  6. <description>
  7. 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.
  8. </description>
  9. <tutorials>
  10. </tutorials>
  11. <methods>
  12. </methods>
  13. <members>
  14. <member name="uniform_name" type="String" setter="set_uniform_name" getter="get_uniform_name" default="&quot;&quot;">
  15. Name of the uniform, by which it can be accessed through the [ShaderMaterial] properties.
  16. </member>
  17. </members>
  18. <constants>
  19. </constants>
  20. </class>