class_curvetexture.rst 913 B

123456789101112131415161718192021222324252627282930313233343536
  1. .. Generated automatically by doc/tools/makerst.py in Godot's source tree.
  2. .. DO NOT EDIT THIS FILE, but the CurveTexture.xml source instead.
  3. .. The source is found in doc/classes or modules/<name>/doc_classes.
  4. .. _class_CurveTexture:
  5. CurveTexture
  6. ============
  7. **Inherits:** :ref:`Texture<class_texture>` **<** :ref:`Resource<class_resource>` **<** :ref:`Reference<class_reference>` **<** :ref:`Object<class_object>`
  8. **Category:** Core
  9. Brief Description
  10. -----------------
  11. A texture that shows a curve.
  12. Member Variables
  13. ----------------
  14. .. _class_CurveTexture_curve:
  15. - :ref:`Curve<class_curve>` **curve** - The ``curve`` rendered onto the texture.
  16. .. _class_CurveTexture_width:
  17. - :ref:`int<class_int>` **width** - The width of the texture.
  18. Description
  19. -----------
  20. Renders a given :ref:`Curve<class_curve>` provided to it. Simplifies the task of drawing curves and/or saving them as image files.