W3cubDocs

/Godot 4.2

GLTFTexture

Inherits: Resource < RefCounted < Object

There is currently no description for this class. Please help us by contributing one!

Tutorials

Properties

int

sampler

-1

int

src_image

-1

Property Descriptions

int sampler = -1

  • void set_sampler ( int value )
  • int get_sampler ( )

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).

int src_image = -1

  • void set_src_image ( int value )
  • int get_src_image ( )

The index of the image associated with this texture, see GLTFState.get_images. If -1, then this texture does not have an image assigned.

© 2014–present Juan Linietsky, Ariel Manzur and the Godot community
Licensed under the Creative Commons Attribution Unported License v3.0.
https://docs.godotengine.org/en/4.2/classes/class_gltftexture.html