class_streamtexture.rst 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263
  1. :github_url: hide
  2. .. Generated automatically by doc/tools/makerst.py in Godot's source tree.
  3. .. DO NOT EDIT THIS FILE, but the StreamTexture.xml source instead.
  4. .. The source is found in doc/classes or modules/<name>/doc_classes.
  5. .. _class_StreamTexture:
  6. StreamTexture
  7. =============
  8. **Inherits:** :ref:`Texture<class_Texture>` **<** :ref:`Resource<class_Resource>` **<** :ref:`Reference<class_Reference>` **<** :ref:`Object<class_Object>`
  9. **Category:** Core
  10. Brief Description
  11. -----------------
  12. A ``.stex`` texture.
  13. Properties
  14. ----------
  15. +-----------------------------+----------------------------------------------------------+----+
  16. | :ref:`String<class_String>` | :ref:`load_path<class_StreamTexture_property_load_path>` | "" |
  17. +-----------------------------+----------------------------------------------------------+----+
  18. Methods
  19. -------
  20. +---------------------------------------+-------------------------------------------------------------------------------------------+
  21. | :ref:`Error<enum_@GlobalScope_Error>` | :ref:`load<class_StreamTexture_method_load>` **(** :ref:`String<class_String>` path **)** |
  22. +---------------------------------------+-------------------------------------------------------------------------------------------+
  23. Description
  24. -----------
  25. A texture that is loaded from a ``.stex`` file.
  26. Property Descriptions
  27. ---------------------
  28. .. _class_StreamTexture_property_load_path:
  29. - :ref:`String<class_String>` **load_path**
  30. +-----------+-----------------+
  31. | *Default* | "" |
  32. +-----------+-----------------+
  33. | *Setter* | load(value) |
  34. +-----------+-----------------+
  35. | *Getter* | get_load_path() |
  36. +-----------+-----------------+
  37. The StreamTexture's file path to a ``.stex`` file.
  38. Method Descriptions
  39. -------------------
  40. .. _class_StreamTexture_method_load:
  41. - :ref:`Error<enum_@GlobalScope_Error>` **load** **(** :ref:`String<class_String>` path **)**