5 #include "CesiumGltf/CameraOrthographic.h"
6 #include "CesiumGltf/CameraPerspective.h"
7 #include "CesiumGltf/Library.h"
8 #include "CesiumGltf/NamedObject.h"
19 static inline constexpr
const char* TypeName =
"Camera";
26 inline static const std::string perspective =
"perspective";
28 inline static const std::string orthographic =
"orthographic";
55 std::string type = Type::perspective;
Classes for working with glTF models.
Known values for Specifies if the camera uses a perspective or orthographic projection.
A camera's projection. A node MAY reference a camera to apply a transform to place the camera in the ...
std::optional< CesiumGltf::CameraOrthographic > orthographic
An orthographic camera containing properties to create an orthographic projection matrix....
std::optional< CesiumGltf::CameraPerspective > perspective
A perspective camera containing properties to create a perspective projection matrix....
The base class for objects in a glTF that have a name.