Set up for Unreal Engine
This page shows how to enable Spatial Reality Display (SR Display) in your Unreal Engine projects.
Install Unreal Engine
Install SR Display Plugin and Templates
- Download latest SR Display Plugin and SR Display Templates from Download Page.
Install SR Display Plugin.
Unzip srd-ue-plugin-4.XX-x.y.z.nnnnn.zip and copy extracted folder SRDisplayPlugin into one of the search paths for Plugins, either in your project or in the Engine itself. See here for instructions on installing Plugins. For simplicity of explanation, we assume you have copied SRDisplayPlugin into C:\Program Files\Epic Games\UE_4.26\Engine\Plugins\Developer\.
For UE5, copy it into the plugin search path of the project. It will not work correctly if copied into the plugin search path of the game engine.
For UE5, select C++ when creating the project. It does not work correctly in Blueprint-only projects. If Blueprint is selected, add some kind of C++ code.
Install SR Display Templates.
Unzip srdisplay-ue-templates-x.y.z.nnnnn.zip and copy extracted folders TP_SRDisplay and TP_SRDisplayBP into the Engine's Templates directory. See here for instructions on installing Templates. For simplicity of explanation, we assume you have copied TP_SRDisplay and TP_SRDisplayBP into C:\Program Files\Epic Games\UE_4.26\Templates\.