Skip to main content

Slate.DrawToVRRenderTarget

Var

Unreal Engine Var console variable.

SlateDrawToVRRenderTarget

Description

If enabled while in VR. Slate UI will be drawn into the render target texture where the VR imagery for either eye was rendered, allow the viewer of the HMD to see the UI (for better or worse.) This render target will then be cropped/scaled into the back buffer, if mirroring is enabled. When disabled, Slate UI will be drawn on top of the backbuffer (not to the HMD) after the mirror texture has been cropped/scaled into the backbuffer.

Usage

Slate.DrawToVRRenderTarget [value]

Set via the console (~) or in DefaultEngine.ini / DefaultGame.ini.