TStereoLayerManager::CreateLayer

Creates a new layer from a given texture resource, which is projected on top of the world as a quad.

Windows
MacOS
Linux

Override Hierarchy

IStereoLayers::CreateLayer()

TStereoLayerManager::CreateLayer()

References

Module

HeadMountedDisplay

Header

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

Include

#include "StereoLayerManager.h"

Syntax

virtual uint32 CreateLayer
(
    const FLayerDesc & InLayerDesc
)

Remarks

Creates a new layer from a given texture resource, which is projected on top of the world as a quad.

Returns

A unique identifier for the layer created

Parameters

Parameter

Description

InLayerDesc

A reference to the texture resource to be used on the quad

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss