FMinimalViewInfo

Syntax

struct FMinimalViewInfo

Variables

Name Description

Public variable

float

 

AspectRatio

Aspect Ratio (Width/Height); ignored unless bConstrainAspectRatio is true.

Public variable

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.

Public variable

uint32 : 1

 

bUseFieldOfViewForLOD

If true, account for the field of view angle when computing which level of detail to use for meshes.

Public variable

float

 

DesiredFOV

This is the originally desired field of view before any adjustments to account for different aspect ratios

Public variable

float

 

FOV

The field of view (in degrees) in perspective mode (ignored in Orthographic mode)

Public variable

FVector

 

Location

Location

Public variable

FVector2D

 

OffCenterProjectionOffset

Off-axis / off-center projection offset as proportion of screen dimensions

Public variable

float

 

OrthoFarClipPlane

The far plane distance of the orthographic view (in world units)

Public variable

float

 

OrthoNearClipPlane

The near plane distance of the orthographic view (in world units)

Public variable

float

 

OrthoWidth

The desired width (in world units) of the orthographic view (ignored in Perspective mode)

Public variable

float

 

PostProcessBlendWeight

Indicates if PostProcessSettings should be applied.

Public variable

FPostProcessSet ...

 

PostProcessSettings

Post-process settings to use if PostProcessBlendWeight is non-zero.

Public variable

TEnumAsByte < EC ...

 

ProjectionMode

The type of camera.

Public variable

FRotator

 

Rotation

Rotation

Constructors

Name Description

Public function

FMinimalViewInfo()

Functions

Name Description

Public function

void

 

AddWeightedViewInfo

(
    const FMinimalViewInfo & OtherView,
    const float& Weight
)

Combines this view with another one which will be weighted.

Public function

void

 

ApplyBlendWeight

(
    const float& Weight
)

Applies weighting to this view, in order to be blended with another one.

Public function

void

 

BlendViewInfo

(
    FMinimalViewInfo & OtherInfo,
    float OtherWeight
)

Blends view information Note: booleans are orred together, instead of blending

Public function Const

FMatrix

 

CalculateProjectionMatrix()

Calculates the projection matrix using this view info's aspect ratio (regardless of bConstrainAspectRatio)

Public function Static

void

 

CalculateProjectionMatrixGivenView

(
    const FMinimalViewInfo & ViewInfo,
    TEnumAsByte < enum EAspectRatioAxisC ...,
    FViewport * Viewport,
    FSceneViewProjectionData & InOutPro...
)

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)

Public function Const

bool

 

Equals

(
    const FMinimalViewInfo & OtherInfo
)

Is this equivalent to the other one?

References

Module

Engine

Header

Runtime/Engine/Classes/Camera/CameraTypes.h