Inherits glTF2::Object.
|
static const char * | TranslateId (Asset &, const char *id) |
| Maps special IDs to another ID, where needed. Subclasses may override it (statically) More...
|
|
◆ Type
Enumerator |
---|
Perspective | |
Orthographic | |
◆ Camera()
glTF2::Camera::Camera |
( |
| ) |
|
|
inline |
◆ Read()
◆ aspectRatio
float glTF2::Camera::aspectRatio |
The floating - point aspect ratio of the field of view. (0 = undefined = use the canvas one)
◆ cameraProperties
union { ... } glTF2::Camera::cameraProperties |
◆ ortographic
struct { ... } glTF2::Camera::ortographic |
◆ perspective
struct { ... } glTF2::Camera::perspective |
◆ type
◆ xmag
float glTF2::Camera::xmag |
◆ yfov
float glTF2::Camera::yfov |
The floating - point vertical field of view in radians. (required)
◆ ymag
float glTF2::Camera::ymag |
The floating-point horizontal magnification of the view. (required)
◆ zfar
float glTF2::Camera::zfar |
The floating - point distance to the far clipping plane. (required)
The floating-point vertical magnification of the view. (required)
◆ znear
float glTF2::Camera::znear |
The floating - point distance to the near clipping plane. (required)
The floating-point distance to the far clipping plane. (required)
The documentation for this struct was generated from the following files: