GLTFTexture

Inherits: Resource < Reference < Object

Description

Note: This class is only compiled in editor builds. Run-time glTF loading and saving is not available in exported projects. References to GLTFTexture within a script will cause an error in an exported project.

Properties

int

sampler

-1

int

src_image

0


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 = 0

  • void set_src_image ( int value )

  • int get_src_image ( )

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