Diligent Engine
Loading...
Searching...
No Matches
Diligent::RadientCameraComponent Struct Reference

Camera component. More...

#include <RadientScene.h>

Public Attributes

RADIENT_CAMERA_PROJECTION Projection = RADIENT_CAMERA_PROJECTION_PERSPECTIVE
 Camera projection mode.
Float32 HorizontalAperture = 2.0955f
 Horizontal aperture in scene units.
Float32 VerticalAperture = 1.52908f
 Vertical aperture in scene units.
Float32 HorizontalApertureOffset = 0.f
 Horizontal aperture offset in the same units as HorizontalAperture.
Float32 VerticalApertureOffset = 0.f
 Vertical aperture offset in the same units as VerticalAperture.
Float32 FocalLength = 5.f
 Perspective focal length in scene units.
RadientFloat2 ClippingRange = {0.1f, 1000.f}
 Near and far clipping distances in scene units.
Float32 FStop = 0.f
 Lens aperture for depth-of-field effects. A value of 0 disables depth of field.
Float32 FocusDistance = 0.f
 Distance from the camera to the focus plane in scene units.

Detailed Description

Camera component.