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...
PlaceholderCubemap
继承: PlaceholderTextureLayered < TextureLayered < Texture < Resource < RefCounted < Object
没有图像数据的 Cubemap 。
描述
该类在以下两种情况下替换 Cubemap 或 Cubemap 派生类:
在专用服务器模式下,图像数据不应影响游戏逻辑。这样能够显著减小导出的 PCK 的大小。
当 Cubemap 派生类丢失时,例如使用不同的引擎版本时。
注意:该类不适用于渲染或在着色器中使用。不保证计算 UV 之类的操作有效。