StreamTexture2D.xml 733 B

12345678910111213141516171819202122232425
  1. <?xml version="1.0" encoding="UTF-8" ?>
  2. <class name="StreamTexture2D" inherits="Texture2D" version="4.0">
  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="load_path" type="String" setter="load" getter="get_load_path" default="&quot;&quot;">
  22. The StreamTexture's file path to a [code].stex[/code] file.
  23. </member>
  24. </members>
  25. </class>