初始提交: UE5.3项目基础框架
This commit is contained in:
35
Plugins/CesiumForUnreal/Source/ThirdParty/include/Cesium3DTilesContent/GltfConverterResult.h
vendored
Normal file
35
Plugins/CesiumForUnreal/Source/ThirdParty/include/Cesium3DTilesContent/GltfConverterResult.h
vendored
Normal file
@ -0,0 +1,35 @@
|
||||
#pragma once
|
||||
|
||||
#include "Library.h"
|
||||
|
||||
#include <CesiumGltf/Model.h>
|
||||
#include <CesiumUtility/ErrorList.h>
|
||||
|
||||
#include <glm/common.hpp>
|
||||
|
||||
#include <optional>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
|
||||
namespace Cesium3DTilesContent {
|
||||
/**
|
||||
* @brief The result of converting a binary content to gltf model.
|
||||
*
|
||||
* Instances of this structure are created internally, by the
|
||||
* {@link GltfConverters}, when the response to a network request for
|
||||
* loading the tile content was received.
|
||||
*/
|
||||
struct CESIUM3DTILESCONTENT_API GltfConverterResult {
|
||||
/**
|
||||
* @brief The gltf model converted from a binary content. This is empty if
|
||||
* there are errors during the conversion
|
||||
*/
|
||||
std::optional<CesiumGltf::Model> model;
|
||||
|
||||
/**
|
||||
* @brief The error and warning list when converting a binary content to gltf
|
||||
* model. This is empty if there are no errors during the conversion
|
||||
*/
|
||||
CesiumUtility::ErrorList errors;
|
||||
};
|
||||
} // namespace Cesium3DTilesContent
|
||||
Reference in New Issue
Block a user