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...
GLTFTexture
继承: Resource < RefCounted < Object
GLTFTexture 代表 glTF 文件中的纹理。
教程
属性
|
||
|
属性说明
纹理采样器的 ID,在对图像进行采样时使用。如果为 -1,则使用默认的纹理采样器(线性过滤,并在两个轴上重复环绕)。
与该纹理关联的图像索引,见 GLTFState.get_images()。如果为 -1,则该纹理未与图像相关联。