Open 3D Engine LyShineExamples Gem API Reference 23.10.0
O3DE is an open-source, fully-featured, high-fidelity, modular 3D engine for building games and simulations, available to every industry.
LyShineExamples::LyShineExamplesCppExample Class Reference

#include <LyShineExamplesCppExample.h>

Inherits LyShineExamplesCppExampleBus::Handler, and UiButtonNotificationBus::MultiHandler.

Public Member Functions

void CreateCanvas () override
 
void DestroyCanvas () override
 
void OnButtonClick () override
 

Static Public Member Functions

static void Reflect (AZ::ReflectContext *context)
 

Detailed Description

Class for demonstrating how to programmatically create a canvas from scratch in C++ The created canvas shows a few examples of interactable elements (a button, a checkbox, and a textInput) as well as a very simple example of custom behavior (a small health system with a health bar that can be damaged / healed through two buttons).


The documentation for this class was generated from the following file: