In Widget BP, add image in Vertical world
In details, open Brush, choose image wanted
Attached with a button and Text:
click on button, On Pressed
Go to graph, add newvariable name as NewImage, connect as follow:
In details of NewImage variable, in Default value, choose another image (result after clicking on it), increase size too
Place sub widget inside a widget:
Create another Widget BP, name as GoesInWidget, make as follow
Back to SImple UI Widget, type GoesInWidget, drag in the box
Can also work in Graph:
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
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
Open event graph, event tick:
Open the texture created earlier on, create material
Back to VR pawn, add plane in component, give minimpa material just made