|
cesium-native 0.67.0
|
Supports conversion of subtrees between 3D Tiles 1.1 and 3D Tiles 2.0 (glTF 2.1). More...
#include <Cesium3DTiles/SubtreeInterop.h>
Supports conversion of subtrees between 3D Tiles 1.1 and 3D Tiles 2.0 (glTF 2.1).
Definition at line 25 of file SubtreeInterop.h.
|
static |
Converts a CesiumGltf::Availability to a CesiumTilesetJson::Availability.
| availability | The CesiumGltf::Availability to convert. |
|
static |
Converts a CesiumTilesetJson::Availability to a CesiumGltf::Availability.
| availability | The CesiumTilesetJson::Availability to convert. |
|
static |
Converts a CesiumGltf::Buffer to a CesiumTilesetJson::Buffer used for subtrees.
| buffer | The CesiumGltf::Buffer to convert. |
|
static |
Converts a CesiumTilesetJson::Buffer used for subtrees to a CesiumGltf::Buffer.
| buffer | The CesiumTilesetJson::Buffer to convert. |
|
static |
Converts a CesiumGltf::BufferView to a CesiumTilesetJson::BufferView used for subtrees.
| bufferView | The CesiumGltf::BufferView to convert. |
|
static |
Converts a CesiumTilesetJson::BufferView used for subtrees to a CesiumGltf::BufferView.
| bufferView | The CesiumTilesetJson::BufferView to convert. |
|
static |
Converts a CesiumTilesetJson::Subtree to an equivalent CesiumGltf::Model with the CesiumGltf::Extension3dTilesSubtree extension.
This attempts to merge all of CesiumTilesetJson::Subtree::contentAvailability into one CesiumGltf::Availability on CesiumGltf::Extension3dTilesSubtree::contentAvailability. Therefore, all CesiumTilesetJson::Subtree::buffers should be resolved and loaded into memory to avoid conversion errors.
| subtree | The CesiumTilesetJson::Subtree to convert. |
|
static |
Converts a CesiumGltf::Model with the CesiumGltf::Extension3dTilesSubtree extension to an equivalent CesiumTilesetJson::Subtree.
| model | The CesiumGltf::Model to convert. |