Exposes the Editor Component CRUD API; it is exposed to Behavior Context for Editor Scripting.
More...
Inherits AZ::EBusTraits.
|
virtual AZStd::vector< AZ::Uuid > | FindComponentTypeIdsByEntityType (const AZStd::vector< AZStd::string > &componentTypeNames, EntityType entityType)=0 |
|
virtual AZStd::vector< AZ::Uuid > | FindComponentTypeIdsByService (const AZStd::vector< AZ::ComponentServiceType > &serviceFilter, const AZStd::vector< AZ::ComponentServiceType > &incompatibleServiceFilter)=0 |
|
virtual AZStd::vector< AZStd::string > | FindComponentTypeNames (const AZ::ComponentTypeList &componentTypeIds)=0 |
| Finds the component names from their type ids.
|
|
virtual AZStd::vector< AZStd::string > | BuildComponentTypeNameListByEntityType (EntityType entityType)=0 |
| Returns the full list of names for all components that can be created for the given Entity type (aka type of Menu).
|
|
virtual AddComponentsOutcome | AddComponentsOfType (AZ::EntityId entityId, const AZ::ComponentTypeList &componentTypeIds)=0 |
| Add Components of the given types to an Entity.
|
|
virtual AddComponentsOutcome | AddComponentOfType (AZ::EntityId entityId, const AZ::Uuid &componentTypeId)=0 |
| Add a single component of a given type to an Entity.
|
|
virtual bool | HasComponentOfType (AZ::EntityId entityId, AZ::Uuid componentTypeId)=0 |
| Returns true if a Component of type provided can be found on Entity, false otherwise.
|
|
virtual size_t | CountComponentsOfType (AZ::EntityId entityId, AZ::Uuid componentTypeId)=0 |
| Count Components of type provided on the Entity.
|
|
virtual GetComponentOutcome | GetComponentOfType (AZ::EntityId entityId, AZ::Uuid componentTypeId)=0 |
| Get Component of type from Entity.
|
|
virtual GetComponentsOutcome | GetComponentsOfType (AZ::EntityId entityId, AZ::Uuid componentTypeId)=0 |
| Get all Components of type from Entity.
|
|
virtual bool | IsValid (AZ::EntityComponentIdPair componentInstance)=0 |
| Verify if component instance referenced by AZ::EntityComponentIdPair is valid.
|
|
virtual bool | EnableComponents (const AZStd::vector< AZ::EntityComponentIdPair > &componentInstances)=0 |
| Enable Components on Entity by AZ::EntityComponentIdPair. Returns true if the operation was successful, false otherwise.
|
|
virtual bool | IsComponentEnabled (const AZ::EntityComponentIdPair &componentInstance)=0 |
| Returns true if the Component is active.
|
|
virtual bool | DisableComponents (const AZStd::vector< AZ::EntityComponentIdPair > &componentInstances)=0 |
| Disable Components on Entity by AZ::EntityComponentIdPair. Returns true if the operation was successful, false otherwise.
|
|
virtual bool | RemoveComponents (const AZStd::vector< AZ::EntityComponentIdPair > &componentInstances)=0 |
| Remove Components from Entity by AZ::EntityComponentIdPair. Returns true if the operation was successful, false otherwise.
|
|
virtual PropertyTreeOutcome | BuildComponentPropertyTreeEditor (const AZ::EntityComponentIdPair &componentInstance)=0 |
| Get the PropertyTreeEditor for the Component Instance provided.
|
|
virtual PropertyOutcome | GetComponentProperty (const AZ::EntityComponentIdPair &componentInstance, const AZStd::string_view propertyPath)=0 |
| Get Value of Property on Component.
|
|
virtual PropertyOutcome | SetComponentProperty (const AZ::EntityComponentIdPair &componentInstance, const AZStd::string_view propertyPath, const AZStd::any &value)=0 |
|
virtual bool | CompareComponentProperty (const AZ::EntityComponentIdPair &componentInstance, const AZStd::string_view propertyPath, const AZStd::any &value)=0 |
| Compare Value of Property on Component.
|
|
virtual const AZStd::vector< AZStd::string > | BuildComponentPropertyList (const AZ::EntityComponentIdPair &componentInstance)=0 |
| Get a full list of Component Properties for the Component Entity provided.
|
|
virtual void | SetVisibleEnforcement (bool enforceVisiblity)=0 |
| Toggles the usage of visible enforcement logic (defaults to False)
|
|
Exposes the Editor Component CRUD API; it is exposed to Behavior Context for Editor Scripting.