Cesium for Unreal 2.12.0
Loading...
Searching...
No Matches
UCesiumTile Class Reference

A UObject representation of a Cesium Tile. More...

#include <CesiumTile.h>

Inheritance diagram for UCesiumTile:

Public Member Functions

bool TileBoundsOverlapsPrimitive (const UPrimitiveComponent *Other) const
 Tests whether a primitive component overlaps with this tile using a sphere and box comparison.
 
bool PrimitiveBoxFullyContainsTileBounds (const UPrimitiveComponent *Other) const
 Checks if this tile is fully inside the given primitive component using a sphere and box comparison.
 
virtual FBoxSphereBounds CalcBounds (const FTransform &LocalToWorld) const override
 

Friends

class CesiumTileExcluderAdapter
 

Detailed Description

A UObject representation of a Cesium Tile.

This class provides an interface for accessing properties of a Cesium Tile from within Unreal Engine. It exposes the Bounds property, which can be accessed from Blueprints, and provides a helper function for testing intersection with a primitive component.

Definition at line 17 of file CesiumTile.h.

Member Function Documentation

◆ CalcBounds()

virtual FBoxSphereBounds UCesiumTile::CalcBounds ( const FTransform & LocalToWorld) const
overridevirtual

◆ PrimitiveBoxFullyContainsTileBounds()

bool UCesiumTile::PrimitiveBoxFullyContainsTileBounds ( const UPrimitiveComponent * Other) const

Checks if this tile is fully inside the given primitive component using a sphere and box comparison.

It uses the FBox::IsInside function to compare the FBox of the component and the tile's bounds.

◆ TileBoundsOverlapsPrimitive()

bool UCesiumTile::TileBoundsOverlapsPrimitive ( const UPrimitiveComponent * Other) const

Tests whether a primitive component overlaps with this tile using a sphere and box comparison.

This function provides a convenient way to test for intersection between a primitive component and this tile.

Friends And Related Symbol Documentation

◆ CesiumTileExcluderAdapter

friend class CesiumTileExcluderAdapter
friend

Definition at line 46 of file CesiumTile.h.


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