Inherits AZ::EBusTraits.
|
static const AZ::EBusHandlerPolicy | HandlerPolicy = AZ::EBusHandlerPolicy::Single |
|
◆ CancelDynamicSliceInstantiation()
virtual void AzFramework::SliceGameEntityOwnershipServiceRequests::CancelDynamicSliceInstantiation |
( |
const SliceInstantiationTicket & |
| ) |
|
|
pure virtual |
Cancels the asynchronous instantiation of a dynamic slice. This call has no effect if the slice has already finished instantiation.
- Parameters
-
ticket | The ticket that identifies the slice instantiation request. |
◆ DestroyDynamicSliceByEntity()
virtual bool AzFramework::SliceGameEntityOwnershipServiceRequests::DestroyDynamicSliceByEntity |
( |
const AZ::EntityId & |
| ) |
|
|
pure virtual |
Destroys an entire dynamic slice instance given the ID of any entity within the slice.
- Parameters
-
id | The ID of the entity whose dynamic slice instance you want to destroy. |
- Returns
- True if the dynamic slice instance was successfully destroyed. Otherwise, false.
◆ InstantiateDynamicSlice()
virtual SliceInstantiationTicket AzFramework::SliceGameEntityOwnershipServiceRequests::InstantiateDynamicSlice |
( |
const AZ::Data::Asset< AZ::Data::AssetData > & |
, |
|
|
const AZ::Transform & |
, |
|
|
const AZ::IdUtils::Remapper< AZ::EntityId >::IdMapper & |
|
|
) |
| |
|
pure virtual |
Instantiates a dynamic slice asynchronously.
- Parameters
-
sliceAsset | A reference to the slice asset data. |
worldTransform | A reference to the world transform to apply to the slice. |
customIdMapper | An ID mapping function that is used when instantiating the slice. |
- Returns
- A ticket that identifies the slice instantiation request. Callers can immediately subscribe to the AzFramework::SliceInstantiationResultBus for this ticket to receive results for this request.
The documentation for this class was generated from the following file:
- Code/Framework/AzFramework/AzFramework/Entity/SliceGameEntityOwnershipServiceBus.h