virtualx-engine/modules/gltf/doc_classes/GLTFTexture.xml

22 lines
997 B
XML
Raw Permalink Normal View History

2021-03-03 05:20:20 +01:00
<?xml version="1.0" encoding="UTF-8" ?>
2022-08-05 18:51:38 +02:00
<class name="GLTFTexture" inherits="Resource" version="3.6" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../../../doc/class.xsd">
2021-03-03 05:20:20 +01:00
<brief_description>
</brief_description>
<description>
[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.
2021-03-03 05:20:20 +01:00
</description>
<tutorials>
</tutorials>
<methods>
</methods>
<members>
<member name="sampler" type="int" setter="set_sampler" getter="get_sampler" default="-1">
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).
</member>
2021-03-03 05:20:20 +01:00
<member name="src_image" type="int" setter="set_src_image" getter="get_src_image" default="0">
</member>
</members>
<constants>
</constants>
</class>