cesium-native 0.67.0
Loading...
Searching...
No Matches
Cesium3DTilesSelection::ViewStateVisibilityDelegate Class Reference

A delegate for determining if a tile's content is visible, using user-defined criteria. For example, a tile's group might be tested. More...

#include <Cesium3DTilesSelection/ViewState.h>

Public Member Functions

virtual bool isContentVisible (const ViewState &viewState, const Tile &tile) const
 Determine if this tile's content is visible. If the tile has external content, then this determines if the tile's children are visited.
 
virtual ~ViewStateVisibilityDelegate ()=default
 destructor
 

Detailed Description

A delegate for determining if a tile's content is visible, using user-defined criteria. For example, a tile's group might be tested.

Definition at line 58 of file ViewState.h.

Member Function Documentation

◆ isContentVisible()

virtual bool Cesium3DTilesSelection::ViewStateVisibilityDelegate::isContentVisible ( const ViewState & viewState,
const Tile & tile ) const
virtual

Determine if this tile's content is visible. If the tile has external content, then this determines if the tile's children are visited.

Parameters
viewStateThe ViewState object.
tileThe tile.
Returns
Whether or not the tile's content is visible.

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