Assimp
v3.1.1 (June 2014)
|
Inherits glTF::Object.
Public Types | |
enum | Type { Perspective , Orthographic } |
Public Member Functions | |
Camera () | |
void | Read (Value &obj, Asset &r) |
![]() | |
virtual bool | IsSpecial () const |
Objects marked as special are not exported (used to emulate the binary body buffer) More... | |
virtual | ~Object () |
Public Attributes | |
union { | |
struct { | |
float xmag | |
float ymag | |
The floating-point horizontal magnification of the view. (required) More... | |
float zfar | |
The floating-point vertical magnification of the view. (required) More... | |
float znear | |
The floating-point distance to the far clipping plane. (required) More... | |
} ortographic | |
struct { | |
float aspectRatio | |
The floating - point aspect ratio of the field of view. (0 = undefined = use the canvas one) More... | |
float yfov | |
The floating - point vertical field of view in radians. (required) More... | |
float zfar | |
The floating - point distance to the far clipping plane. (required) More... | |
float znear | |
The floating - point distance to the near clipping plane. (required) More... | |
} perspective | |
}; | |
Type | type |
![]() | |
std::string | id |
The globally unique ID used to reference this object. More... | |
std::string | name |
The user-defined name of this object. More... | |
Additional Inherited Members | |
![]() | |
static const char * | TranslateId (Asset &r, const char *id) |
Maps special IDs to another ID, where needed. Subclasses may override it (statically) More... | |
enum glTF::Camera::Type |
|
inline |
union { ... } |
float glTF::Camera::aspectRatio |
The floating - point aspect ratio of the field of view. (0 = undefined = use the canvas one)
struct { ... } glTF::Camera::ortographic |
struct { ... } glTF::Camera::perspective |
Type glTF::Camera::type |
float glTF::Camera::xmag |
float glTF::Camera::yfov |
The floating - point vertical field of view in radians. (required)
float glTF::Camera::ymag |
The floating-point horizontal magnification of the view. (required)
float glTF::Camera::zfar |
The floating - point distance to the far clipping plane. (required)
The floating-point vertical magnification of the view. (required)
float glTF::Camera::znear |
The floating - point distance to the near clipping plane. (required)
The floating-point distance to the far clipping plane. (required)