0.2.0-dev Download ZIP
19 lines ·1.0 KB Raw
| 1 | <?xml version="1.0" encoding="UTF-8" ?> |
| 2 | <class name="GLTFTexture" inherits="Resource" api_type="core" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../../../doc/class.xsd"> |
| 3 | <brief_description> |
| 4 | GLTFTexture represents a texture in a glTF file. |
| 5 | </brief_description> |
| 6 | <description> |
| 7 | </description> |
| 8 | <tutorials> |
| 9 | <link title="Runtime file loading and saving">$DOCS_URL/tutorials/io/runtime_file_loading_and_saving.html</link> |
| 10 | </tutorials> |
| 11 | <members> |
| 12 | <member name="sampler" type="int" setter="set_sampler" getter="get_sampler" default="-1"> |
| 13 | 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). |
| 14 | </member> |
| 15 | <member name="src_image" type="int" setter="set_src_image" getter="get_src_image" default="-1"> |
| 16 | The index of the image associated with this texture, see [method GLTFState.get_images]. If -1, then this texture does not have an image assigned. |
| 17 | </member> |
| 18 | </members> |
| 19 | </class> |