Cesium for Unreal 2.12.0
|
A UObject representation of a Cesium Tile. More...
#include <CesiumTile.h>
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 |
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.
|
overridevirtual |
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.
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.
|
friend |
Definition at line 46 of file CesiumTile.h.