Open 3D Engine LyShine 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.
UiCanvasProxyRefInterface Class Referenceabstract

#include <UiCanvasRefBus.h>

Inherits AZ::ComponentBus.

Public Member Functions

virtual void SetCanvasRefEntity (AZ::EntityId canvasAssetRefEntity)=0
 

Detailed Description

UiCanvasProxyRefBus Allows an entity in a level to share a reference to a UI canvas that was loaded into another UiCanvasRef. This bus is only needed to allow two entities in the world to use the same instance of a UI canvas asset.

Member Function Documentation

◆ SetCanvasRefEntity()

virtual void UiCanvasProxyRefInterface::SetCanvasRefEntity ( AZ::EntityId  canvasAssetRefEntity)
pure virtual

Set the entity that is managing the UI canvas for this proxy This will cause the OnCanvasRefChanged event to be sent to any UiCanvasRefNotifications


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