Open 3D Engine LyShine Gem API Reference
23.05.0
O3DE is an open-source, fully-featured, high-fidelity, modular 3D engine for building games and simulations, available to every industry.
|
Inherits Component, Handler, Handler, and Handler.
Public Member Functions | |
AZ_COMPONENT (UiCanvasAssetRefComponent,"{05BED4D7-E331-4020-9C17-BD3F4CE4DE85}") | |
AZ::EntityId | GetCanvas () override |
AZStd::string | GetCanvasPathname () override |
void | SetCanvasPathname (const AZStd::string &pathname) override |
bool | GetIsAutoLoad () override |
void | SetIsAutoLoad (bool isAutoLoad) override |
bool | GetShouldLoadDisabled () override |
void | SetShouldLoadDisabled (bool shouldLoadDisabled) override |
AZ::EntityId | LoadCanvas () override |
void | UnloadCanvas () override |
void | OnCanvasUnloaded (AZ::EntityId canvasEntityId) override |
Protected Member Functions | |
void | LaunchUIEditor (const AZ::Data::AssetId &assetId, const AZ::Data::AssetType &) |
void | Activate () override |
void | Deactivate () override |
AZ_DISABLE_COPY_MOVE (UiCanvasAssetRefComponent) | |
Protected Attributes | |
AzFramework::SimpleAssetReference < LyShine::CanvasAsset > | m_canvasAssetRef |
Persistent properties. | |
bool | m_isAutoLoad |
bool | m_shouldLoadDisabled |
AZ::EntityId | m_canvasEntityId |
The UI Canvas that is associated with this component entity. | |