#include <UiSystemToolsBus.h>
Inherits AZ::EBusTraits.
|
using | MutexType = AZStd::recursive_mutex |
|
|
static const AZ::EBusHandlerPolicy | HandlerPolicy = AZ::EBusHandlerPolicy::Single |
|
static const AZ::EBusAddressPolicy | AddressPolicy = AZ::EBusAddressPolicy::Single |
|
Bus interface for tools to talk to the LyShine system It is valid to use this bus from resource compilers or the UI Editor
◆ LoadCanvasFromStream()
virtual CanvasAssetHandle * UiSystemToolsInterface::LoadCanvasFromStream |
( |
AZ::IO::GenericStream & |
stream, |
|
|
const AZ::ObjectStream::FilterDescriptor & |
filterDesc |
|
) |
| |
|
pure virtual |
Load a canvas but do not init or activate the entities The CanvasAssetHandle is an opaque pointer only valid to be passed to the methods below.
◆ ReplaceCanvasEntity()
virtual void UiSystemToolsInterface::ReplaceCanvasEntity |
( |
CanvasAssetHandle * |
canvas, |
|
|
AZ::Entity * |
newCanvasEntity |
|
) |
| |
|
pure virtual |
Replace the canvas entity with a new one. The old canvas entity is not deleted. The client is responsible for that.
◆ ReplaceRootSliceSliceComponent()
virtual void UiSystemToolsInterface::ReplaceRootSliceSliceComponent |
( |
CanvasAssetHandle * |
canvas, |
|
|
AZ::SliceComponent * |
newSliceComponent |
|
) |
| |
|
pure virtual |
Replace the slice component with a new one. The old slice component is not deleted. The client is responsible for that.
The documentation for this class was generated from the following file:
- Gems/LyShine/Code/Include/LyShine/Bus/Tools/UiSystemToolsBus.h