GLTFTexture
Inherits: Resource < RefCounted < Object
Description
Section titled “Description”GLTFTexture represents a texture in a glTF file.
Properties
Section titled “Properties”| Type | Name | Default |
|---|---|---|
| int | sampler |
-1 |
| int | src_image |
-1 |
Property descriptions
Section titled “Property descriptions”sampler
int sampler = -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).
src_image
int src_image = -1
The index of the image associated with this texture, see GLTFState.get_images(). If -1, then this texture does not have an image assigned.
