5#include <CesiumGltf/Library.h>
6#include <CesiumUtility/ExtensibleObject.h>
20 static constexpr const char*
TypeName =
"CameraPerspective";
43 std::optional<double>
zfar;
Classes for working with glTF models.
A perspective camera containing properties to create a perspective projection matrix.
static constexpr const char * TypeName
The original name of this type.
double znear
The floating-point distance to the near clipping plane.
int64_t getSizeBytes() const
Calculates the size in bytes of this object, including the contents of all collections,...
std::optional< double > aspectRatio
The floating-point aspect ratio of the field of view.
double yfov
The floating-point vertical field of view in radians. This value SHOULD be less than π.
std::optional< double > zfar
The floating-point distance to the far clipping plane.
The base class for objects that have extensions and extras.
int64_t getSizeBytes() const
Calculates the size in bytes of this ExtensibleObject, including all of its extras but NOT including ...