GLTFTexture.xml 997 B

12345678910111213141516171819202122
  1. <?xml version="1.0" encoding="UTF-8" ?>
  2. <class name="GLTFTexture" inherits="Resource" version="3.6" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../../../doc/class.xsd">
  3. <brief_description>
  4. </brief_description>
  5. <description>
  6. [b]Note:[/b] This class is only compiled in editor builds. Run-time glTF loading and saving is [i]not[/i] available in exported projects. References to [GLTFTexture] within a script will cause an error in an exported project.
  7. </description>
  8. <tutorials>
  9. </tutorials>
  10. <methods>
  11. </methods>
  12. <members>
  13. <member name="sampler" type="int" setter="set_sampler" getter="get_sampler" default="-1">
  14. ID of the texture sampler to use when sampling the image. If -1, then the default texture sampler is used (linear filtering, and repeat wrapping in both axes).
  15. </member>
  16. <member name="src_image" type="int" setter="set_src_image" getter="get_src_image" default="0">
  17. </member>
  18. </members>
  19. <constants>
  20. </constants>
  21. </class>