HUDSample
Updated: 09/29/2026
5.4 alpha Now Available. Click here to visit the announcement page for the alpha version.
Summary
This sample uses the Cubism SDK for Unreal Engine to display models on the HUD or on meshes within Unreal Engine.
The following assets are available in Content/Samples/HUD.
- HUDSample
Level asset containing the sample - HUDSampleUI
Widget blueprint for controlling the UI displayed in the sample - HUDSampleUICompoBoxItem
UI asset used within HUDSampleUI - HUDSampleRT
Drawing target for model drawing used within HUDSampleUI - HUDSampleMat
Material used in HUDSampleRT - HUDSampleSceneCapture
SceneCapture2D for drawing models in HUDSampleRT
Purpose
By drawing the selected model onto a drawing target, you can verify that the model can be displayed on the HUD or on meshes.
If you want to review the details of the sample implementation, check the contents of the HUDSample level blueprint and the HUDSampleUI widget blueprint.
How to use
Open the HUDSample level and start PIE.
Display the mouse cursor and select the model whose expression you want to change from the “TargetModel” drop-down list.
The model drawn in HUDSampleRT changes to match the model placed on the level.

Was this article helpful?
YesNo