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 represents a texture in a glTF file.
教學
屬性
|
||
|
屬性說明
紋理取樣器的 ID,在對圖像進行取樣時使用。如果為 -1,則使用預設的紋理取樣器(線性篩選,並在兩個軸上重複環繞)。
與該紋理關聯的圖像索引,見 GLTFState.get_images()。如果為 -1,則該紋理未與圖像相關聯。