StreamTexture.xml 859 B

12345678910111213141516171819202122232425262728
  1. <?xml version="1.0" encoding="UTF-8" ?>
  2. <class name="StreamTexture" inherits="Texture" version="3.3">
  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. <argument index="0" name="path" type="String" />
  15. <description>
  16. Loads the texture from the given path.
  17. </description>
  18. </method>
  19. </methods>
  20. <members>
  21. <member name="flags" type="int" setter="set_flags" getter="get_flags" override="true" default="0" />
  22. <member name="load_path" type="String" setter="load" getter="get_load_path" default="&quot;&quot;">
  23. The StreamTexture's file path to a [code].stex[/code] file.
  24. </member>
  25. </members>
  26. <constants>
  27. </constants>
  28. </class>