cesium-native  0.41.0
CameraPerspective.h
1 // This file was generated by generate-classes.
2 // DO NOT EDIT THIS FILE!
3 #pragma once
4 
5 #include "CesiumGltf/Library.h"
6 
7 #include <CesiumUtility/ExtensibleObject.h>
8 
9 #include <optional>
10 
11 namespace CesiumGltf {
16 struct CESIUMGLTF_API CameraPerspective final
18  static inline constexpr const char* TypeName = "CameraPerspective";
19 
26  std::optional<double> aspectRatio;
27 
32  double yfov = double();
33 
41  std::optional<double> zfar;
42 
46  double znear = double();
47 };
48 } // namespace CesiumGltf
Classes for working with glTF models.
A perspective camera containing properties to create a perspective projection matrix.
std::optional< double > aspectRatio
The floating-point aspect ratio of the field of view.
std::optional< double > zfar
The floating-point distance to the far clipping plane.
The base class for objects that have extensions and extras.