5#include "Components/PrimitiveComponent.h"
6#include "CoreMinimal.h"
7#include <Cesium3DTilesSelection/BoundingVolume.h>
8#include "CesiumTile.generated.h"
18class CESIUMRUNTIME_API
UCesiumTile : public UPrimitiveComponent {
21 glm::dmat4 _tileTransform;
32 UFUNCTION(BlueprintCallable, Category =
"Cesium")
40 UFUNCTION(BlueprintCallable, Category =
"Cesium")
44 virtual FBoxSphereBounds
45 CalcBounds(const FTransform& LocalToWorld) const override;
A UObject representation of a Cesium Tile.
bool TileBoundsOverlapsPrimitive(const UPrimitiveComponent *Other) const
Tests whether a primitive component overlaps with this tile using a sphere and box comparison.
friend class CesiumTileExcluderAdapter
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
std::variant< CesiumGeometry::BoundingSphere, CesiumGeometry::OrientedBoundingBox, CesiumGeospatial::BoundingRegion, CesiumGeospatial::BoundingRegionWithLooseFittingHeights, CesiumGeospatial::S2CellBoundingVolume > BoundingVolume