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,則該紋理未與影像相關聯。