class_visualshadernodeuniformref.rst 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. :github_url: hide
  2. .. Generated automatically by doc/tools/make_rst.py in Godot's source tree.
  3. .. DO NOT EDIT THIS FILE, but the VisualShaderNodeUniformRef.xml source instead.
  4. .. The source is found in doc/classes or modules/<name>/doc_classes.
  5. .. _class_VisualShaderNodeUniformRef:
  6. VisualShaderNodeUniformRef
  7. ==========================
  8. **Inherits:** :ref:`VisualShaderNode<class_VisualShaderNode>` **<** :ref:`Resource<class_Resource>` **<** :ref:`Reference<class_Reference>` **<** :ref:`Object<class_Object>`
  9. A reference to an existing :ref:`VisualShaderNodeUniform<class_VisualShaderNodeUniform>`.
  10. Description
  11. -----------
  12. Creating a reference to a :ref:`VisualShaderNodeUniform<class_VisualShaderNodeUniform>` allows you to reuse this uniform in different shaders or shader stages easily.
  13. Properties
  14. ----------
  15. +-----------------------------+-----------------------------------------------------------------------------+--------------+
  16. | :ref:`String<class_String>` | :ref:`uniform_name<class_VisualShaderNodeUniformRef_property_uniform_name>` | ``"[None]"`` |
  17. +-----------------------------+-----------------------------------------------------------------------------+--------------+
  18. Property Descriptions
  19. ---------------------
  20. .. _class_VisualShaderNodeUniformRef_property_uniform_name:
  21. - :ref:`String<class_String>` **uniform_name**
  22. +-----------+-------------------------+
  23. | *Default* | ``"[None]"`` |
  24. +-----------+-------------------------+
  25. | *Setter* | set_uniform_name(value) |
  26. +-----------+-------------------------+
  27. | *Getter* | get_uniform_name() |
  28. +-----------+-------------------------+
  29. The name of the uniform which this reference points to.
  30. .. |virtual| replace:: :abbr:`virtual (This method should typically be overridden by the user to have any effect.)`
  31. .. |const| replace:: :abbr:`const (This method has no side effects. It doesn't modify any of the instance's member variables.)`
  32. .. |vararg| replace:: :abbr:`vararg (This method accepts any number of arguments after the ones described here.)`