2
0

StreamTexture.xml 883 B

123456789101112131415161718192021222324252627282930
  1. <?xml version="1.0" encoding="UTF-8" ?>
  2. <class name="StreamTexture" inherits="Texture" version="3.4">
  3. <brief_description>
  4. A [code].stex[/code] texture.
  5. </brief_description>
  6. <description>
  7. A texture that is loaded from a [code].stex[/code] file.
  8. </description>
  9. <tutorials>
  10. </tutorials>
  11. <methods>
  12. <method name="load">
  13. <return type="int" enum="Error">
  14. </return>
  15. <argument index="0" name="path" type="String">
  16. </argument>
  17. <description>
  18. Loads the texture from the given path.
  19. </description>
  20. </method>
  21. </methods>
  22. <members>
  23. <member name="flags" type="int" setter="set_flags" getter="get_flags" override="true" default="0" />
  24. <member name="load_path" type="String" setter="load" getter="get_load_path" default="&quot;&quot;">
  25. The StreamTexture's file path to a [code].stex[/code] file.
  26. </member>
  27. </members>
  28. <constants>
  29. </constants>
  30. </class>