1.14.0.5
Coherent HB for UE4
A modern user interface library for games
UMG integration

Table of Contents

UMG integration

Hummingbird is also integrated into Unreal Motion Graphics using the provided UHummingbirdWidget which can be found under Hummingbird category in the UMG editor.

umg_widget_editor.png
Hummingbird UMG Widget

An example usage of the UMG widget can be seen in the provided UMG_Map found in HummingbirdFPS/Content/Maps. The map uses the UMGHUD widget blueprint found in HummingbirdFPS/Content which contains a single UHummingbirdWidget stretched across the screen.

The widget behaves akin to the components we talked above but due to limitations of Unreal Engine there are some differences. The following properties and methods are present in UHummingbirdComponent but not in UHummingbirdWidget:

  • bool ManualTexture
  • int32 Width
  • int32 Height
  • virtual void Resize(uint32 width, uint32 height)

The rest of the public interface is the same and you can use the UMG widget wherever you are using the actor components.

Using UMG widgets on in-game objects

You can use Coherent's UMG Widget (UHummingbirdWidget) within UMG widgets attached as components on objects in the game world. To get optimal visual quality in this case it is required to:

  1. Go to the Rendering properties of the widget and set Blend Mode to Transparent.
  2. Uncheck the Gamma Corrected Material property of the UHummingbirdWidget