cesium-native
0.43.0
Loading...
Searching...
No Matches
TileTransform.h
1
#pragma once
2
3
#include <glm/fwd.hpp>
4
5
#include <optional>
6
7
namespace
Cesium3DTiles
{
8
struct
Tile;
9
}
10
11
namespace
Cesium3DTilesContent
{
12
17
class
TileTransform
{
18
public
:
29
static
std::optional<glm::dmat4>
30
getTransform
(
const
Cesium3DTiles::Tile
& tile);
31
40
static
void
41
setTransform
(
Cesium3DTiles::Tile
& tile,
const
glm::dmat4& newTransform);
42
};
43
44
}
// namespace Cesium3DTilesContent
Cesium3DTilesContent::TileTransform
Convenience functions for getting and setting Cesium3DTiles::Tile::transform as a glm::dmat4.
Definition
TileTransform.h:17
Cesium3DTilesContent::TileTransform::getTransform
static std::optional< glm::dmat4 > getTransform(const Cesium3DTiles::Tile &tile)
Gets the tile's transform as a glm::dmat4.
Cesium3DTilesContent::TileTransform::setTransform
static void setTransform(Cesium3DTiles::Tile &tile, const glm::dmat4 &newTransform)
Sets the tile's transform using the values of a glm::dmat4.
Cesium3DTilesContent
Classes that support loading and converting 3D Tiles tile content.
Definition
B3dmToGltfConverter.h:12
Cesium3DTiles
Classes for using 3D Tiles.
Definition
Buffer.h:7
Cesium3DTiles::Tile
A tile in a 3D Tiles tileset.
Definition
Tile.h:20
Cesium3DTilesContent
include
Cesium3DTilesContent
TileTransform.h
Generated by
1.12.0