Open 3D Engine LyShine Gem API Reference
24.09
O3DE is an open-source, fully-featured, high-fidelity, modular 3D engine for building games and simulations, available to every industry.
|
#include <UiSpawnerComponent.h>
Inherits AZ::Component, UiSpawnerBus::Handler, and UiGameEntityContextSliceInstantiationResultsBus::MultiHandler.
Public Member Functions | |
AZ_COMPONENT (UiSpawnerComponent, "{5AF19874-04A4-4540-82FC-5F29EC854E31}") | |
void | Activate () override |
void | Deactivate () override |
AzFramework::SliceInstantiationTicket | Spawn () override |
AzFramework::SliceInstantiationTicket | SpawnRelative (const AZ::Vector2 &relative) override |
AzFramework::SliceInstantiationTicket | SpawnViewport (const AZ::Vector2 &pos) override |
AzFramework::SliceInstantiationTicket | SpawnSlice (const AZ::Data::Asset< AZ::Data::AssetData > &slice) override |
AzFramework::SliceInstantiationTicket | SpawnSliceRelative (const AZ::Data::Asset< AZ::Data::AssetData > &slice, const AZ::Vector2 &relative) override |
AzFramework::SliceInstantiationTicket | SpawnSliceViewport (const AZ::Data::Asset< AZ::Data::AssetData > &slice, const AZ::Vector2 &pos) override |
void | OnEntityContextSlicePreInstantiate (const AZ::Data::AssetId &sliceAssetId, const AZ::SliceComponent::SliceInstanceAddress &sliceAddress) override |
void | OnEntityContextSliceInstantiated (const AZ::Data::AssetId &sliceAssetId, const AZ::SliceComponent::SliceInstanceAddress &sliceAddress) override |
void | OnEntityContextSliceInstantiationFailed (const AZ::Data::AssetId &sliceAssetId) override |
SpawnerComponent
SpawnerComponent facilitates spawning of a design-time selected or run-time provided "*.dynamicslice" at an entity's location with an optional offset.