Up to date

This page is up to date for Godot 4.2. If you still find outdated information, please open an issue.

CompressedTextureLayered

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

派生: CompressedCubemap, CompressedCubemapArray, CompressedTexture2DArray

可压缩纹理数组的基类。

描述

CompressedTexture2DArrayCompressedTexture3D 的基类。不能直接使用,但包含了访问派生资源类型所需的所有函数。另见 TextureLayered

属性

String

load_path

""

方法

Error

load ( String path )


属性说明

String load_path = ""

加载纹理所使用的路径。


方法说明

Error load ( String path )

加载位于 path 的纹理。