class_visualshadernodesdftoscreenuv.rst 1.4 KB

1234567891011121314151617181920212223242526
  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 VisualShaderNodeSDFToScreenUV.xml source instead.
  4. .. The source is found in doc/classes or modules/<name>/doc_classes.
  5. .. _class_VisualShaderNodeSDFToScreenUV:
  6. VisualShaderNodeSDFToScreenUV
  7. =============================
  8. **Inherits:** :ref:`VisualShaderNode<class_VisualShaderNode>` **<** :ref:`Resource<class_Resource>` **<** :ref:`RefCounted<class_RefCounted>` **<** :ref:`Object<class_Object>`
  9. A function to convert an SDF (signed-distance field) to screen UV, to be used within the visual shader graph.
  10. Description
  11. -----------
  12. Translates to ``sdf_to_screen_uv(sdf_pos)`` in the shader language.
  13. .. |virtual| replace:: :abbr:`virtual (This method should typically be overridden by the user to have any effect.)`
  14. .. |const| replace:: :abbr:`const (This method has no side effects. It doesn't modify any of the instance's member variables.)`
  15. .. |vararg| replace:: :abbr:`vararg (This method accepts any number of arguments after the ones described here.)`
  16. .. |constructor| replace:: :abbr:`constructor (This method is used to construct a type.)`
  17. .. |static| replace:: :abbr:`static (This method doesn't need an instance to be called, so it can be called directly using the class name.)`
  18. .. |operator| replace:: :abbr:`operator (This method describes a valid operator to use with this type as left-hand operand.)`