CameraComponentData

Initialization data structure for the CameraComponent.

File location: framework/cauldron/framework/inc/core/components/cameracomponent.h

Detailed description

Initialization data structure for the CameraComponent.

Data fields

Type

Description

CameraType

Type
“CameraType“. Either perspective or orthographic.

float

Znear
Camera near Z.

float

Zfar
Camera far Z.

float

Yfov
Vertical field-of-view.

float

AspectRatio
Aspect ratio.

float

Xmag
Magnitude in X axis.

float

Ymag
Magnitude in Y axis.

std::wstring

Name
Component name.