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