CurveTexture.xml 960 B

123456789101112131415161718192021222324
  1. <?xml version="1.0" encoding="UTF-8" ?>
  2. <class name="CurveTexture" inherits="Texture" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../class.xsd">
  3. <brief_description>
  4. A texture that shows a curve.
  5. </brief_description>
  6. <description>
  7. Renders a given [Curve] provided to it. Simplifies the task of drawing curves and/or saving them as image files.
  8. </description>
  9. <tutorials>
  10. </tutorials>
  11. <methods>
  12. </methods>
  13. <members>
  14. <member name="curve" type="Curve" setter="set_curve" getter="get_curve">
  15. The [Curve] that is rendered onto the texture.
  16. </member>
  17. <member name="width" type="int" setter="set_width" getter="get_width" default="2048">
  18. The width of the texture (in pixels). Higher values make it possible to represent high-frequency data better (such as sudden direction changes), at the cost of increased generation time and memory usage.
  19. </member>
  20. </members>
  21. <constants>
  22. </constants>
  23. </class>