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.
UiSpawnerInterface Class Referenceabstract

Bus for making requests to the UiSpawnerComponent. More...

#include <UiSpawnerBus.h>

Inherits AZ::ComponentBus.

Public Member Functions

virtual AzFramework::SliceInstantiationTicket Spawn ()=0
 Spawn the selected slice at the entity's location.
 
virtual AzFramework::SliceInstantiationTicket SpawnRelative (const AZ::Vector2 &relative)=0
 Spawn the selected slice at the entity's location with the provided relative offset.
 
virtual AzFramework::SliceInstantiationTicket SpawnViewport (const AZ::Vector2 &pos)
 Spawn the selected slice at the specified viewport position.
 
virtual AzFramework::SliceInstantiationTicket SpawnSlice (const AZ::Data::Asset< AZ::Data::AssetData > &slice)
 Spawn the provided slice at the entity's location.
 
virtual AzFramework::SliceInstantiationTicket SpawnSliceRelative (const AZ::Data::Asset< AZ::Data::AssetData > &slice, const AZ::Vector2 &relative)
 Spawn the provided slice at the entity's location with the provided relative offset.
 
virtual AzFramework::SliceInstantiationTicket SpawnSliceViewport (const AZ::Data::Asset< AZ::Data::AssetData > &slice, const AZ::Vector2 &pos)
 Spawn the provided slice at the specified viewport position.
 

Detailed Description

Bus for making requests to the UiSpawnerComponent.


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