Navigation
API > API/Plugins > API/Plugins/XRBase
Inheritance Hierarchy
- FSimpleLayerManager
- FHMDSceneViewExtension
- FDefaultStereoLayers
References
| Module | XRBase |
| Header | /Engine/Plugins/Runtime/XRBase/Source/XRBase/Public/DefaultStereoLayers.h |
| Include | #include "DefaultStereoLayers.h" |
Syntax
class FDefaultStereoLayers :
public FSimpleLayerManager,
public FHMDSceneViewExtension
Remarks
Default implementation of stereo layers for platforms that require emulating layer support.
FHeadmountedDisplayBase subclasses will use this implementation by default unless overridden.
Variables
| Type | Name | Description | |
|---|---|---|---|
| FHeadMountedDisplayBase * | HMDDevice | ||
| FTransform | HmdTransform | ||
| TArray< FLayerDesc > | SortedOverlayLayers | ||
| TArray< FLayerDesc > | SortedSceneLayers |
Constructors
| Type | Name | Description | |
|---|---|---|---|
FDefaultStereoLayers
(
const FAutoRegister& AutoRegister, |
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | StereoLayerRender
(
FRHICommandListImmediate& RHICmdList, |
Experimental method | |
| void | UpdateHmdTransform
(
const FTransform& InHmdTransform |
Invoked by FHeadMountedDisplayBase to update the HMD position during the late update. |
Overridden from IStereoLayers
| Type | Name | Description | |
|---|---|---|---|
| bool | If true the debug layers are copied to the spectator screen, because they do not naturally end up on the spectator screen as part of the 3d view. |
Overridden from ISceneViewExtension
| Type | Name | Description | |
|---|---|---|---|
| void | BeginRenderViewFamily
(
FSceneViewFamily& InViewFamily |
Called on game thread when view family is about to be rendered. | |
| void | PostRenderView_RenderThread
(
FRDGBuilder& GraphBuilder, |
Allows to render content after the 3D content scene, useful for debugging | |
| void | PreRenderView_RenderThread
(
FRDGBuilder& GraphBuilder, |
Called on render thread at the start of rendering, for each view, after PreRenderViewFamily_RenderThread call. | |
| void | PreRenderViewFamily_RenderThread
(
FRDGBuilder& GraphBuilder, |
Called on render thread at the start of rendering. | |
| void | SetupView
(
FSceneViewFamily& InViewFamily, |
Called on game thread when creating the view. | |
| void | SetupViewFamily
(
FSceneViewFamily& InViewFamily |
ISceneViewExtension interface |