FSpectatorScreenModeTexturePlusEyeLayout

Windows
MacOS
Linux

References

Module

HeadMountedDisplay

Header

/Engine/Source/Runtime/HeadMountedDisplay/Public/HeadMountedDisplayTypes.h

Include

#include "HeadMountedDisplayTypes.h"

Syntax

struct FSpectatorScreenModeTexturePlusEyeLayout

Variables

Name Description

Public variable

bool

 

bClearBlack

Public variable

bool

 

bDrawEyeFirst

Public variable

bool

 

bUseAlpha

Public variable

FVector2D

 

EyeRectMax

Public variable

FVector2D

 

EyeRectMin

Public variable

FVector2D

 

TextureRectMax

Public variable

FVector2D

 

TextureRectMin

Constructors

Name Description

Public function

FSpectatorScreenModeTexturePlusEyeLayout()

Public function

FSpectatorScreenModeTexturePlusEyeLayout

(
    FVector2D InEyeRectMin,
    FVector2D InEyeRectMax,
    FVector2D InTextureRectMin,
    FVector2D InTextureRectMax,
    bool InbDrawEyeFirst,
    bool InbClearBlack,
    bool InbUseAlpha
)

Functions

Name Description

Public function Const

FIntRect

 

GetScaledEyeRect

(
    int SizeX,
    int SizeY
)

Public function Const

FIntRect

 

GetScaledTextureRect

(
    int SizeX,
    int SizeY
)

Public function Const

bool

 

IsValid()

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