Provides access to the details of a glTF MeshPrimitive loaded by the Cesium3DTileset.
More...
#include <CesiumLoadedTile.h>
Provides access to the details of a glTF MeshPrimitive loaded by the Cesium3DTileset.
This interface is implemented by the USceneComponent subclass that represents a single glTF primitive that is part of the tile's glTF model.
Definition at line 75 of file CesiumLoadedTile.h.
◆ FindTextureCoordinateIndexForGltfAccessor()
| virtual std::optional< uint32_t > ICesiumLoadedTilePrimitive::FindTextureCoordinateIndexForGltfAccessor |
( |
int32_t | AccessorIndex | ) |
const |
|
pure virtual |
Maps an accessor index in the glTF primitive to its corresponding texture coordinate index in the Unreal mesh.
The -1 key is reserved for implicit feature IDs (in other words, the vertex index).
- Parameters
-
| AccessorIndex | An accessor index in the glTF primitive |
- Returns
- A texture coordinate index in the Unreal mesh, or std::nullopt if none was found for the AccessorIndex passed.
◆ GetLoadedTile()
Gets the loaded tile that this primitive belongs to.
◆ GetMeshComponent()
| virtual UStaticMeshComponent & ICesiumLoadedTilePrimitive::GetMeshComponent |
( |
| ) |
|
|
pure virtual |
Gets the Unreal static mesh component built to represent the glTF primitive.
◆ GetMeshPrimitive()
◆ GetPrimitiveFeatures()
Gets the Blueprint-accessible wrapper for the glTF Primitive's mesh features.
◆ GetPrimitiveMetadata()
Gets the Blueprint-accessible wrapper for the glTF Primitive's EXT_structural_metadata extension.
The documentation for this class was generated from the following file: