Skip to content

Latest commit

 

History

History
37 lines (19 loc) · 1.93 KB

README.md

File metadata and controls

37 lines (19 loc) · 1.93 KB

NoesisGUI Unreal Engine User Control Demo

Demo screenshot

Introduction

This demo shows how to implement an UserControl using XAML and a C++ code-behind. The main focus points of this demo are:

  • Shows how to create an UserControl with a code-behind class in C++ that implements DependencyPropertys and Events.

  • Shows how to use the UseControl in another XAML.

Demo Breakdown

C++ Code

Blueprint

  • NoesisBlueprint'/Game/UserControls/View.View': It's a NoesisView for NoesisXaml'/Game/UserControls/MainWindow.MainWindow' (MainWindow.xaml).

NoesisBlueprint'/Game/UserControls/View.View'

  • UserControl - Level Blueprint: Creates a Widget from NoesisBlueprint'/Game/UserControls/View.View', adds it to the viewport and captures mouse input.

UserControl - Level Blueprint

Project Settings

  • NoesisGUI Project Settings: Sets the NoesisXaml NoesisXaml'/Game/Theme/NoesisTheme_DarkBlue.NoesisTheme_DarkBlue' as the global application ResourceDictionary.

Project Settings