Attention: Here be dragons
This is the latest
(unstable) version of this documentation, which may document features
not available in or compatible with released stable versions of Godot.
Checking the stable version of the documentation...
GLTFTextureSampler¶
Inherits: Resource < RefCounted < Object
Represents a GLTF texture sampler
描述¶
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.
属性¶
|
||
|
||
|
||
|
Property Descriptions¶
int mag_filter = 9729
Texture's magnification filter, used when texture appears larger on screen than the source image.
int min_filter = 9987
Texture's minification filter, used when the texture appears smaller on screen than the source image.
int wrap_s = 10497
Wrapping mode to use for S-axis (horizontal) texture coordinates.
int wrap_t = 10497
Wrapping mode to use for T-axis (vertical) texture coordinates.