XII Release 0.1.0
Loading...
Searching...
No Matches
xiiCameraMode Struct Reference

Copyright (c) Theophilus Eriata. All Rights Reserved. More...

#include <Camera.h>

Inheritance diagram for xiiCameraMode:
[legend]

Public Types

enum  Enum {
  None , PerspectiveFixedFovX , PerspectiveFixedFovY , OrthoFixedWidth ,
  OrthoFixedHeight , Stereo , Default = PerspectiveFixedFovY
}
using StorageType = xiiInt8

Detailed Description

Copyright (c) Theophilus Eriata. All Rights Reserved.

Specifies in which mode this camera is configured.

Member Enumeration Documentation

◆ Enum

Enumerator
None 

Not initialized.

PerspectiveFixedFovX 

Perspective camera, the fov for X is fixed, Y depends on the aspect ratio.

PerspectiveFixedFovY 

Perspective camera, the fov for Y is fixed, X depends on the aspect ratio.

OrthoFixedWidth 

Orthographic camera, the width is fixed, the height depends on the aspect ratio.

OrthoFixedHeight 

Orthographic camera, the height is fixed, the width depends on the aspect ratio.

Stereo 

A stereo camera with view/projection matrices provided by an HMD.


The documentation for this struct was generated from the following file:
  • /home/runner/work/XII/XII/Source/Engine/Core/Graphics/Camera.h