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
7namespace Cesium3DTiles {
8struct Tile;
9}
10
11namespace Cesium3DTilesContent {
12
18public:
29 static std::optional<glm::dmat4>
31
40 static void
41 setTransform(Cesium3DTiles::Tile& tile, const glm::dmat4& newTransform);
42};
43
44} // namespace Cesium3DTilesContent
Convenience functions for getting and setting Cesium3DTiles::Tile::transform as a glm::dmat4.
static std::optional< glm::dmat4 > getTransform(const Cesium3DTiles::Tile &tile)
Gets the tile's transform as a glm::dmat4.
static void setTransform(Cesium3DTiles::Tile &tile, const glm::dmat4 &newTransform)
Sets the tile's transform using the values of a glm::dmat4.
Classes that support loading and converting 3D Tiles tile content.
Classes for using 3D Tiles.
Definition Buffer.h:7
A tile in a 3D Tiles tileset.
Definition Tile.h:20