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.

CompressedTextureLayered

繼承: TextureLayered < Texture < Resource < RefCounted < Object

被繼承: CompressedCubemap, CompressedCubemapArray, CompressedTexture2DArray

可壓縮紋理陣列的基底類別。

說明

CompressedTexture2DArrayCompressedTexture3D 的基底類別。不能直接使用,但包含了存取衍生資源型別所需的所有函式。另見 TextureLayered

屬性

String

load_path

""

方法

Error

load(path: String)


屬性說明

String load_path = "" 🔗

載入紋理所使用的路徑。


方法說明

Error load(path: String) 🔗

載入位於 path 的紋理。