Navigation
Unreal Engine C++ API Reference > Runtime > Engine > Camera
References
Module | Engine |
Header | /Engine/Source/Runtime/Engine/Classes/Camera/CameraTypes.h |
Include | #include "Camera/CameraTypes.h" |
Syntax
struct FMinimalViewInfo
Variables
Type | Name | Description | |
---|---|---|---|
![]() |
float | AspectRatio | Aspect Ratio (Width/Height) |
![]() |
TOptional< EAspectRatioAxisConstraint > | AspectRatioAxisConstraint | Aspect ratio axis constraint override. |
![]() |
uint32: 1 | bConstrainAspectRatio | If bConstrainAspectRatio is true, black bars will be added if the destination view has a different aspect ratio than this camera requested. |
![]() |
uint32: 1 | bUseFieldOfViewForLOD | If true, account for the field of view angle when computing which level of detail to use for meshes. |
![]() |
float | DesiredFOV | The originally desired horizontal field of view before any adjustments to account for different aspect ratios |
![]() |
float | FOV | The horizontal field of view (in degrees) in perspective mode (ignored in orthographic mode). |
![]() |
FVector | Location | Location |
![]() |
FVector2D | OffCenterProjectionOffset | Off-axis / off-center projection offset as proportion of screen dimensions |
![]() |
float | OrthoFarClipPlane | The far plane distance of the orthographic view (in world units) |
![]() |
float | OrthoNearClipPlane | The near plane distance of the orthographic view (in world units) |
![]() |
float | OrthoWidth | The desired width (in world units) of the orthographic view (ignored in Perspective mode) |
![]() |
float | PerspectiveNearClipPlane | The near plane distance of the perspective view (in world units). |
![]() |
float | PostProcessBlendWeight | Indicates if PostProcessSettings should be applied. |
![]() |
FPostProcessSettings | PostProcessSettings | Post-process settings to use if PostProcessBlendWeight is non-zero. |
![]() |
TOptional< FTransform > | PreviousViewTransform | Optional transform to be considered as this view's previous transform |
![]() |
TEnumAsByte< ECameraProjectionMode::Type > | ProjectionMode | The type of camera. |
![]() |
FRotator | Rotation | Rotation |
Constructors
Type | Name | Description | |
---|---|---|---|
![]() |
Functions
Type | Name | Description | |
---|---|---|---|
![]() |
void | AddWeightedViewInfo
(
const FMinimalViewInfo& OtherView, |
Combines this view with another one which will be weighted. |
![]() |
void | ApplyBlendWeight
(
const float& Weight |
Applies weighting to this view, in order to be blended with another one. |
![]() |
void | BlendViewInfo
(
FMinimalViewInfo& OtherInfo, |
Blends view information Note: booleans are orred together, instead of blending |
![]() ![]() |
FMatrix | Calculates the projection matrix using this view info's aspect ratio (regardless of bConstrainAspectRatio) | |
![]() ![]() |
void | CalculateProjectionMatrixGivenView
(
const FMinimalViewInfo& ViewInfo, |
Calculates the projection matrix (and potentially a constrained view rectangle) given a FMinimalViewInfo and partially configured projection data (must have the view rect already set) |
![]() ![]() |
void | CalculateProjectionMatrixGivenViewRectangle
(
const FMinimalViewInfo& ViewInfo, |
Calculates the projection matrix (and potentially a constrained view rectangle) given a FMinimalViewInfo and partially configured projection data (must have the view rect already set). |
![]() ![]() |
bool | Equals
(
const FMinimalViewInfo& OtherInfo |
Is this equivalent to the other one? |
![]() ![]() |
float | The near plane distance of the perspective view (in world units). |