Table of Contents

Class GLTFTextureSampler

Represents a glTF texture sampler

Inheritance
GLTFTextureSampler

Remarks

Represents a texture sampler as defined by the base glTF spec. Texture samplers in glTF specify how to sample data from the texture's base image, when rendering the texture on an object.

See Also

Properties

mag_filter

Texture's magnification filter, used when texture appears larger on screen than the source image.

var mag_filter : int = 9729

Property Value

int

Remarks

  • void set_mag_filter(int value)
  • int get_mag_filter

min_filter

Texture's minification filter, used when the texture appears smaller on screen than the source image.

var min_filter : int = 9987

Property Value

int

Remarks

  • void set_min_filter(int value)
  • int get_min_filter

wrap_s

Wrapping mode to use for S-axis (horizontal) texture coordinates.

var wrap_s : int = 10497

Property Value

int

Remarks

  • void set_wrap_s(int value)
  • int get_wrap_s

wrap_t

Wrapping mode to use for T-axis (vertical) texture coordinates.

var wrap_t : int = 10497

Property Value

int

Remarks

  • void set_wrap_t(int value)
  • int get_wrap_t