Up to date
This page is up to date for Godot 4.2
.
If you still find outdated information, please open an issue.
GLTFTexture¶
继承: Resource < RefCounted < Object
目前没有这个类的描述。请帮我们贡献一个!
教程¶
属性¶
|
||
|
属性说明¶
int sampler = -1
纹理采样器的 ID,在对图像进行采样时使用。如果为 -1,则使用默认的纹理采样器(线性过滤,并在两个轴上重复环绕)。
int src_image = -1
与该纹理关联的图像索引,见 GLTFState.get_images。如果为 -1,则该纹理未与图像相关联。