Cesium for Unreal 2.12.0
Loading...
Searching...
No Matches
CesiumTile.h
Go to the documentation of this file.
1// Copyright 2020-2024 CesiumGS, Inc. and Contributors
2
3#pragma once
4
5#include "CoreMinimal.h"
6#include <Cesium3DTilesSelection/BoundingVolume.h>
7#include "CesiumTile.generated.h"
8
16UCLASS()
17class CESIUMRUNTIME_API UCesiumTile : public UPrimitiveComponent {
18 GENERATED_BODY()
19
20 glm::dmat4 _tileTransform;
21
23 CesiumGeometry::OrientedBoundingBox(glm::dvec3(0.0), glm::dmat3(1.0));
24
25public:
31 UFUNCTION(BlueprintCallable, Category = "Cesium")
32 bool TileBoundsOverlapsPrimitive(const UPrimitiveComponent* Other) const;
33
39 UFUNCTION(BlueprintCallable, Category = "Cesium")
40 bool
41 PrimitiveBoxFullyContainsTileBounds(const UPrimitiveComponent* Other) const;
42
43 virtual FBoxSphereBounds
44 CalcBounds(const FTransform& LocalToWorld) const override;
45
46 friend class CesiumTileExcluderAdapter;
47};
A UObject representation of a Cesium Tile.
Definition CesiumTile.h:17
std::variant< CesiumGeometry::BoundingSphere, CesiumGeometry::OrientedBoundingBox, CesiumGeospatial::BoundingRegion, CesiumGeospatial::BoundingRegionWithLooseFittingHeights, CesiumGeospatial::S2CellBoundingVolume > BoundingVolume