FSceneViewProjectionData

Projection data for a [FSceneView](API\Runtime\Engine\FSceneView).

Windows
MacOS
Linux

Inheritance Hierarchy

FSceneViewProjectionData

FSceneViewInitOptions

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Public/SceneView.h

Include

#include "SceneView.h"

Syntax

struct FSceneViewProjectionData

Remarks

Projection data for a FSceneView.

Variables

Name Description

Protected variable

FIntRect

 

ConstrainedViewRect

The constrained view rectangle (identical to UnconstrainedUnscaledViewRect if aspect ratio is not constrained)

Public variable

FMatrix

 

ProjectionMatrix

UE4 projection matrix projects such that clip space Z=1 is the near plane, and Z=0 is the infinite far plane.

Public variable

FVector

 

ViewOrigin

The view origin.

Protected variable

FIntRect

 

ViewRect

The unconstrained (no aspect ratio bars applied) view rectangle (also unscaled)

Public variable

FMatrix

 

ViewRotationMatrix

Rotation matrix transforming from world space to view space.

Functions

Name Description

Public function Const

FMatrix

 

ComputeViewProjectionMatrix()

Public function Const

const FIntRe...

 

GetConstrainedViewRect()

Public function Const

const FIntRe...

 

GetViewRect()

Public function Const

bool

 

IsPerspectiveProjection()

Public function Const

bool

 

IsValidViewRectangle()

Public function

void

 

SetConstrainedViewRectangle

(
    const FIntRect& InViewRect
)

Public function

void

 

SetViewRectangle

(
    const FIntRect& InViewRect
)

Select Skin
Light
Dark

Welcome to the new Unreal Engine 4 Documentation site!

We're working on lots of new features including a feedback system so you can tell us how we are doing. It's not quite ready for use in the wild yet, so head over to the Documentation Feedback forum to tell us about this page or call out any issues you are encountering in the meantime.

We'll be sure to let you know when the new system is up and running.

Post Feedback