Module |
|
Header |
/Engine/Source/Runtime/Engine/Public/IStereoLayers.h |
Include |
#include "IStereoLayers.h" |
struct FLayerDesc
Structure describing the visual appearance of a single stereo layer
Name | Description | ||
---|---|---|---|
|
Flags |
Uses LAYER_FLAG_... See: ELayerFlags. |
|
|
Id |
The layer's ID. |
|
|
LayerSize |
Size of texture that the compositor should allocate. Unnecessary if Texture is provided. The compositor will allocate a cubemap whose faces are of LayerSize if ShapeType is CubemapLayer. |
|
|
LeftTexture |
Texture mapped for left eye (if one texture provided, mono assumed) |
|
|
PositionType |
Which space the layer is locked within. |
|
|
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. |
|
|
QuadSize |
Size of rendered quad. |
|
|
Texture |
Texture mapped for right eye (if one texture provided, mono assumed) |
|
|
Transform |
View space transform. |
|
|
UVRect |
UVs of rendered quad in UE units. |
Name | Description | |
---|---|---|
|
FLayerDesc() |
|
|
FLayerDesc ( |
Name | Description | ||
---|---|---|---|
|
GetLayerId() |
||
|
T & |
GetShape() |
Returns Shape cast to the supplied type. It's up to the caller to have ensured the cast is valid before calling this method. |
|
const T & |
GetShape() |
|
|
HasShape() |
Which shape of layer it is. |
|
|
IsVisible() |
||
|
SetLayerId ( |
||
|
SetShape ( |
Name |
Description |
---|---|
INVALID_LAYER_ID |
Layer IDs must be larger than 0. |