Table of Contents

Class GLTFTexture

GLTFTexture represents a texture in a glTF file.

Inheritance
GLTFTexture

See Also

Properties

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

var sampler : int = -1

Property Value

int

Remarks

  • void set_sampler(int value)
  • int get_sampler

src_image

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

var src_image : int = -1

Property Value

int

Remarks

  • void set_src_image(int value)
  • int get_src_image