5#include "Cesium3DTilesSelection/Tile.h"
10#include "Math/Vector.h"
11#include "UObject/ObjectMacros.h"
13#include "CesiumLoadedTile.generated.h"
16class UStaticMeshComponent;
115 virtual std::optional<uint32_t>
Provides access to the details of a glTF MeshPrimitive loaded by the Cesium3DTileset.
virtual const FCesiumPrimitiveFeatures & GetPrimitiveFeatures() const =0
Gets the Blueprint-accessible wrapper for the glTF Primitive's mesh features.
virtual std::optional< uint32_t > FindTextureCoordinateIndexForGltfAccessor(int32_t AccessorIndex) const =0
Maps an accessor index in the glTF primitive to its corresponding texture coordinate index in the Unr...
virtual const FCesiumPrimitiveMetadata & GetPrimitiveMetadata() const =0
Gets the Blueprint-accessible wrapper for the glTF Primitive's EXT_structural_metadata extension.
virtual const CesiumGltf::MeshPrimitive * GetMeshPrimitive() const =0
Gets the glTF primitive.
virtual ICesiumLoadedTile & GetLoadedTile()=0
Gets the loaded tile that this primitive belongs to.
virtual UStaticMeshComponent & GetMeshComponent()=0
Gets the Unreal static mesh component built to represent the glTF primitive.
Provides access to the details of a tile loaded by the Cesium3DTileset.
virtual const Cesium3DTilesSelection::TileID & GetTileID() const =0
Gets the tile identifier: this is informational only, as there is no guarantee of uniqueness.
virtual const FCesiumModelMetadata & GetModelMetadata() const =0
Gets the blueprint-accessible wrapper for metadata contained in the tile's glTF model.
virtual ACesium3DTileset & GetTilesetActor()=0
Gets the tileset Actor that the tile belongs to.
virtual FVector GetGltfToUnrealLocalVertexPositionScaleFactor() const =0
Gets the scaling factor that was applied (via component-wise multiplication) to the vertices of this ...
virtual const CesiumGltf::Model * GetGltfModel() const =0
Gets the glTF model from which the tile data was obtained.
std::variant< std::string, CesiumGeometry::QuadtreeTileID, CesiumGeometry::OctreeTileID, CesiumGeometry::UpsampledQuadtreeNode > TileID
A Blueprint-accessible wrapper for a glTF Primitive's mesh features.