PlaceholderCubemap

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

没有图像数据的 Cubemap

描述

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

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

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

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

Previous Next


© 版权所有 2014-present Juan Linietsky, Ariel Manzur and the Godot community (CC BY 3.0). Revision b1c660f7.

Built with Sphinx using a theme provided by Read the Docs.