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