cesium-native  0.41.0
Cesium3DTilesSelection::TileEmptyContent Struct Reference

A content tag that indicates a tile has no content. More...

#include <Cesium3DTilesSelection/TileContent.h>

Detailed Description

A content tag that indicates a tile has no content.

There are two possible ways to handle a tile with no content:

  1. Treat it as a placeholder used for more efficient culling, but never render it. Refining to this tile is equivalent to refining to its children.
  2. Treat it as an indication that nothing need be rendered in this area at this level-of-detail. In other words, "render" it as a hole. To have this behavior, the tile should not have content at all.

We distinguish whether the tileset creator wanted (1) or (2) by comparing this tile's geometricError to the geometricError of its parent tile. If this tile's error is greater than or equal to its parent, treat it as (1). If it's less, treat it as (2).

For a tile with no parent there's no difference between the behaviors.

Definition at line 45 of file TileContent.h.


The documentation for this struct was generated from the following file: