|
| UiEditorEntityContext (EditorWindow *editorWindow) |
|
bool | HandleLoadedRootSliceEntity (AZ::Entity *rootEntity, bool remapIds, AZ::SliceComponent::EntityIdToEntityIdMap *idRemapTable=nullptr) |
|
void | InitUiContext () override |
| Initialize the entity context and instantiate the root slice.
|
|
void | DestroyUiContext () override |
| Destroy the Entity Context.
|
|
bool | SaveToStreamForGame (AZ::IO::GenericStream &stream, AZ::DataStream::StreamType streamType) override |
|
bool | SaveCanvasEntityToStreamForGame (AZ::Entity *canvasEntity, AZ::IO::GenericStream &stream, AZ::DataStream::StreamType streamType) override |
|
AZ::SliceComponent * | GetUiRootSlice () override |
|
AZ::Entity * | CreateUiEntity (const char *name) override |
|
void | AddUiEntity (AZ::Entity *entity) override |
|
void | AddUiEntities (const AzFramework::EntityList &entities) override |
|
bool | CloneUiEntities (const AZStd::vector< AZ::EntityId > &sourceEntities, AzFramework::EntityList &resultEntities) override |
|
bool | DestroyUiEntity (AZ::EntityId entityId) override |
|
bool | SupportsViewportEntityIdPicking () override |
|
AZ::SliceComponent::SliceInstanceAddress | CloneEditorSliceInstance (AZ::SliceComponent::SliceInstanceAddress sourceInstance) override |
|
AzFramework::SliceInstantiationTicket | InstantiateEditorSlice (const AZ::Data::Asset< AZ::Data::AssetData > &sliceAsset, AZ::Vector2 viewportPosition) override |
|
AzFramework::SliceInstantiationTicket | InstantiateEditorSliceAtChildIndex (const AZ::Data::Asset< AZ::Data::AssetData > &sliceAsset, AZ::Vector2 viewportPosition, int childIndex) override |
|
void | RestoreSliceEntity (AZ::Entity *entity, const AZ::SliceComponent::EntityRestoreInfo &info) override |
|
void | QueueSliceReplacement (const char *targetPath, const AZStd::unordered_map< AZ::EntityId, AZ::EntityId > &selectedToAssetMap, const AZStd::unordered_set< AZ::EntityId > &entitiesInSelection, AZ::Entity *commonParent, AZ::Entity *insertBefore) override |
|
void | DeleteElements (AzToolsFramework::EntityIdList elements) override |
|
bool | HasPendingRequests () override |
|
bool | IsInstantiatingSlices () override |
|
void | DetachSliceEntities (const AzToolsFramework::EntityIdList &entities) override |
|
void | OnSlicePreInstantiate (const AZ::Data::AssetId &sliceAssetId, const AZ::SliceComponent::SliceInstanceAddress &sliceAddress) override |
|
void | OnSliceInstantiated (const AZ::Data::AssetId &sliceAssetId, const AZ::SliceComponent::SliceInstanceAddress &sliceAddress) override |
|
void | OnSliceInstantiationFailed (const AZ::Data::AssetId &sliceAssetId) override |
|
void | OnCatalogAssetAdded (const AZ::Data::AssetId &assetId) override |
|
void | ResetContext () override |
|
AZStd::string | GetErrorMessage () const |
|
virtual void | InitUiContext ()=0 |
| Initialize the entity context and instantiate the root slice.
|
|
virtual void | DestroyUiContext ()=0 |
| Destroy the Entity Context.
|
|
virtual bool | SaveToStreamForGame (AZ::IO::GenericStream &stream, AZ::DataStream::StreamType streamType)=0 |
|
virtual bool | SaveCanvasEntityToStreamForGame (AZ::Entity *canvasEntity, AZ::IO::GenericStream &stream, AZ::DataStream::StreamType streamType)=0 |
|
The UIEditorEntityContext extends the UiEditorContext to add functionality only needed when a UI canvas is loaded in the UI Editor.