Up to date

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

PlaceholderCubemapArray

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

没有图像数据的 CubemapArray

描述

该类在以下两种情况下替换 CubemapArrayCubemapArray 派生类:

  • 在专用服务器模式下,图像数据不应影响游戏逻辑。这样能够显著减小导出的 PCK 的大小。

  • CubemapArray 派生类丢失时,例如使用不同的引擎版本时。

注意:该类不适用于渲染或在着色器中使用。不保证计算 UV 之类的操作有效。