Navigation
API > API/Runtime > API/Runtime/Engine
| Name | FViewMatrices |
| Type | struct |
| Header File | /Engine/Source/Runtime/Engine/Public/SceneView.h |
| Include Path | #include "SceneView.h" |
Syntax
struct FViewMatrices
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
| SceneView.h | |||
FViewMatrices
(
const FMinimalInitializer& Initializer |
SceneView.h | ||
FViewMatrices
(
const FSceneViewInitOptions& InitOptions |
SceneView.h |
Structs
| Name | Remarks |
|---|---|
| FMinimalInitializer |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| CameraToViewTarget | FVector | The current view target's location proportional to the camera location | SceneView.h | |
| FirstPersonParams | FFirstPersonParameters | Parameters controlling the rendering (FOV and scale) of first person primitives. | SceneView.h | |
| FirstPersonTransform | FMatrix | Scale and shear to avoid first person primitives to clip with the scene and to achieve a first person specific FOV. | SceneView.h | |
| HMDViewMatrixNoRoll | FMatrix | HMD WorldToView with roll removed. | SceneView.h | |
| InvProjectionMatrix | FMatrix | ClipToView : UE projection matrix projects such that clip space Z=1 is the near plane, and Z=0 is the infinite far plane. | SceneView.h | |
| InvTranslatedViewMatrix | FMatrix | ViewToWorld with PreViewTranslation. | SceneView.h | |
| InvTranslatedViewProjectionMatrix | FMatrix | The inverse view-projection transform, ending with world-space points translated by -ViewOrigin. | SceneView.h | |
| InvViewMatrix | FMatrix | ViewToWorld.. | SceneView.h | |
| InvViewProjectionMatrix | FMatrix | ClipToWorld : UE projection matrix projects such that clip space Z=1 is the near plane, and Z=0 is the infinite far plane. */. | SceneView.h | |
| OverriddenInvTranslatedViewMatrix | FMatrix | ViewToWorld with PreViewTranslation. | SceneView.h | |
| OverriddenTranslatedViewMatrix | FMatrix | WorldToView with PreViewTranslation. | SceneView.h | |
| PerProjectionDepthThicknessScale | float | Depth test scaling; differs between perspective and orthographic | SceneView.h | |
| PreViewTranslation | FVector | The translation to apply to the world before TranslatedViewProjectionMatrix. | SceneView.h | |
| ProjectionMatrix | FMatrix | ViewToClip : UE projection matrix projects such that clip space Z=1 is the near plane, and Z=0 is the infinite far plane. | SceneView.h | |
| ProjectionNoAAMatrix | FMatrix | ViewToClipNoAA : UE projection matrix projects such that clip space Z=1 is the near plane, and Z=0 is the infinite far plane. | SceneView.h | |
| ProjectionScale | FVector2D | Scale applied by the projection matrix in X and Y. | SceneView.h | |
| ScreenScale | float | Scale factor to use when computing the size of a sphere in pixels. | SceneView.h | |
| ScreenToClipMatrix | FMatrix | The screen to clip matrix (defined depending on whether this is a perspective or ortho projection view) | SceneView.h | |
| TemporalAAProjectionJitter | FVector2D | TemporalAA jitter offset currently stored in the projection matrix | SceneView.h | |
| TranslatedViewMatrix | FMatrix | WorldToView with PreViewTranslation. | SceneView.h | |
| TranslatedViewProjectionMatrix | FMatrix | The view-projection transform, starting from world-space points translated by -ViewOrigin. | SceneView.h | |
| ViewMatrix | FMatrix | WorldToView.. | SceneView.h | |
| ViewOrigin | FVector | The camera/viewport location in world space | SceneView.h | |
| ViewProjectionMatrix | FMatrix | WorldToClip : UE projection matrix projects such that clip space Z=1 is the near plane, and Z=0 is the infinite far plane. */. | SceneView.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void ApplyWorldOffset
(
const FVector& InOffset |
SceneView.h | ||
const FVector2D ComputeHalfFieldOfViewPerAxis() |
SceneView.h | ||
const FMatrix ComputeInvProjectionNoAAMatrix() |
SceneView.h | ||
FMatrix::FReal ComputeNearPlane() |
SceneView.h | ||
FMatrix::FReal ComputeOrthoFarPlane() |
SceneView.h | ||
const FMatrix ComputeProjectionNoAAMatrix() |
SceneView.h | ||
const FMatrix ComputeViewRotationProjectionMatrix() |
SceneView.h | ||
const FVector & GetCameraToViewTarget() |
SceneView.h | ||
FVector2f GetFirstPersonHalfFieldOfViewPerAxis() |
SceneView.h | ||
float GetFirstPersonScale() |
SceneView.h | ||
FVector4f GetFirstPersonTanAndInvTanHalfFOV() |
SceneView.h | ||
const FMatrix & GetFirstPersonTransform() |
SceneView.h | ||
const FMatrix & GetHMDViewMatrixNoRoll() |
SceneView.h | ||
const FMatrix & GetInvProjectionMatrix() |
SceneView.h | ||
FVector2f GetInvTanHalfFov() |
SceneView.h | ||
const FMatrix & GetInvTranslatedViewMatrix() |
SceneView.h | ||
const FMatrix & GetInvTranslatedViewProjectionMatrix() |
SceneView.h | ||
const FMatrix & GetInvViewMatrix() |
SceneView.h | ||
const FMatrix & GetInvViewProjectionMatrix() |
SceneView.h | ||
FVector2f GetOrthoDimensions() |
SceneView.h | ||
const FMatrix & GetOverriddenInvTranslatedViewMatrix() |
SceneView.h | ||
const FMatrix & GetOverriddenTranslatedViewMatrix() |
SceneView.h | ||
float GetPerProjectionDepthThicknessScale() |
SceneView.h | ||
const FVector & GetPreViewTranslation() |
SceneView.h | ||
const FMatrix & GetProjectionMatrix() |
SceneView.h | ||
const FMatrix & GetProjectionNoAAMatrix() |
SceneView.h | ||
const FVector2D & GetProjectionScale() |
SceneView.h | ||
float GetScreenScale() |
SceneView.h | ||
const FMatrix & GetScreenToClipMatrix() |
SceneView.h | ||
FVector4f GetTanAndInvTanHalfFOV() |
Used for initializing the View Uniform Buffer TanAndInvTanHalfFOV variable without repeated calls to IsPerspectiveProjection. | SceneView.h | |
FVector2f GetTanHalfFov() |
SceneView.h | ||
const FVector2D GetTemporalAAJitter() |
SceneView.h | ||
const FMatrix & GetTranslatedViewMatrix() |
SceneView.h | ||
const FMatrix & GetTranslatedViewProjectionMatrix() |
SceneView.h | ||
const FMatrix & GetViewMatrix() |
SceneView.h | ||
const FVector & GetViewOrigin() |
SceneView.h | ||
const FMatrix & GetViewProjectionMatrix() |
SceneView.h | ||
void HackAddTemporalAAProjectionJitter
(
const FVector2D& InTemporalAAProjectionJitter |
SceneView.h | ||
void HackOverrideViewMatrixForShadows
(
const FMatrix& InViewMatrix |
SceneView.h | ||
void HackRemoveTemporalAAProjectionJitter() |
SceneView.h | ||
bool IsPerspectiveProjection() |
SceneView.h | ||
void SaveProjectionNoAAMatrix() |
SceneView.h | ||
FMatrix ScreenToClipProjectionMatrix() |
SceneView.h | ||
void UpdatePlanarReflectionViewMatrix
(
const FSceneView& SourceView, |
SceneView.h | ||
void UpdateViewMatrix
(
const FVector& ViewLocation, |
World = TranslatedWorld - PreViewTranslation TranslatedWorld = World + PreViewTranslation | SceneView.h |
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static const FMatrix InvertProjectionMatrix
(
const FMatrix& M |
SceneView.h |