FLayerDesc

Structure describing the visual appearance of a single stereo layer

Windows
MacOS
Linux

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Public/IStereoLayers.h

Include

#include "IStereoLayers.h"

Syntax

struct FLayerDesc

Remarks

Structure describing the visual appearance of a single stereo layer

Variables

Name Description

Public variable

float

 

CylinderHeight

Public variable

float

 

CylinderOverlayArc

Public variable

float

 

CylinderRadius

Public variable

uint32

 

Flags

Uses LAYER_FLAG_... See: ELayerFlags.

Public variable

uint32

 

Id

The layer's ID.

Public variable

FIntPoint

 

LayerSize

Size of texture that the compositor should allocate. Un-necessary if Texture is provided. The compositor will allocate a cubemap whose faces are of LayerSize if ShapeType is CubemapLayer.

Public variable

FTextureRHIRef

 

LeftTexture

Texture mapped for left eye (if one texture provided, mono assumed)

Public variable

ELayerType

 

PositionType

Which space the layer is locked within.

Public variable

int32

 

Priority

Render order priority, higher priority render on top of lower priority. Face-Locked layers are rendered on top of other layer types regardless of priority.

Public variable

FVector2D

 

QuadSize

Size of rendered quad.

Public variable

ELayerShape

 

ShapeType

Which shape of layer it is. ELayerShape::QuadLayer is the only shape supported by all VR platforms.

Public variable

FTextureRHIRef

 

Texture

Texture mapped for right eye (if one texture provided, mono assumed)

Public variable

FTransform

 

Transform

View space transform.

Public variable

FBox2D

 

UVRect

UVs of rendered quad in UE units.

Functions

Name Description

Public function Const

uint32

 

GetLayerId()

Public function

void

 

SetLayerId

(
    uint32 InId
)

Constants

Name

Description

INVALID_LAYER_ID

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