Outdated documentation

This documentation page refers to Godot 4.3, and may be outdated or incorrect.
Additionally, this engine version is no longer supported.

Check this page in the stable branch for the latest additions and corrections.

PlaceholderCubemapArray

Inherits: PlaceholderTextureLayered < TextureLayered < Texture < Resource < RefCounted < Object

A CubemapArray without image data.

Description

This class replaces a CubemapArray or a CubemapArray-derived class in 2 conditions:

  • In dedicated server mode, where the image data shouldn't affect game logic. This allows reducing the exported PCK's size significantly.

  • When the CubemapArray-derived class is missing, for example when using a different engine version.

Note: This class is not intended for rendering or for use in shaders. Operations like calculating UV are not guaranteed to work.


User-contributed notes

Please read the User-contributed notes policy before submitting a comment.