Camera component. More...
#include <RadientScene.h>
Public Attributes | |
| RADIENT_CAMERA_PROJECTION | Projection = RADIENT_CAMERA_PROJECTION_PERSPECTIVE |
| Camera projection mode. | |
| Float32 | HorizontalAperture = 20.955f |
| Float32 | VerticalAperture = 15.2908f |
| Float32 | HorizontalApertureOffset = 0.f |
| Float32 | VerticalApertureOffset = 0.f |
| Float32 | FocalLength = 50.f |
| Perspective focal length in millimeters. | |
| 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. | |
Camera component.
| Float32 Diligent::RadientCameraComponent::HorizontalAperture = 20.955f |
Horizontal sensor aperture in millimeters for perspective lens effects. Perspective projection uses the viewport aspect ratio instead of this value. In orthographic mode, this is the view width in scene units.
| Float32 Diligent::RadientCameraComponent::HorizontalApertureOffset = 0.f |
Horizontal aperture offset in the same units as HorizontalAperture. Stored in the component but currently not applied by the renderer.
| Float32 Diligent::RadientCameraComponent::VerticalAperture = 15.2908f |
Vertical sensor aperture in millimeters. Together with FocalLength, determines the perspective vertical field of view; the horizontal field of view follows the viewport aspect ratio. In orthographic mode, this is the view height in scene units.
| Float32 Diligent::RadientCameraComponent::VerticalApertureOffset = 0.f |
Vertical aperture offset in the same units as VerticalAperture. Stored in the component but currently not applied by the renderer.