Skip to content

3D UI & Wristed Mounted MiniMap


In Widget BP, add image in Vertical world
In details, open Brush, choose image wanted
Attached with a button and Text:
image.png
click on button, On Pressed
image.png
Go to graph, add newvariable name as NewImage, connect as follow:
image.png
In details of NewImage variable, in Default value, choose another image (result after clicking on it), increase size too
image.png

Place sub widget inside a widget:


Create another Widget BP, name as GoesInWidget, make as follow
image.png

Back to SImple UI Widget, type GoesInWidget, drag in the box
image.png
Can also work in Graph:
image.png

Create an Actor BP, name as WidgetHolder, open it
Add Widget component (under DefaultSceneRoot)
Details. Widget class: choose the Widget created, scale down to fit the archor
image.png

Drag in the scene


Wristed Mounted MiniMap


Open VR pawn, add SceneCaptureComponent 2D, name as MiniMapCapture
set the roation and location as below,
add texture target “Canvas Render Target”, name a new folder called texture
image.png
Open event graph, event tick:
image.png

Open the texture created earlier on, create material
image.png

Back to VR pawn, add plane in component, give minimpa material just made
image.png
Want to print your doc?
This is not the way.
Try clicking the ··· in the right corner or using a keyboard shortcut (
CtrlP
) instead.