Open 3D Engine AzToolsFramework 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.
AzToolsFramework::Components::EditorSelectionAccentSystemComponent Class Reference

Inherits AZ::Component, AzToolsFramework::ToolsApplicationEvents::Bus::Handler, and AzToolsFramework::Components::EditorSelectionAccentingRequestBus::Handler.

Public Types

enum class  ComponentEntityAccentType : AZ::u8 {
  None , Hover , Selected , ParentSelected ,
  SliceSelected
}
 

Public Member Functions

 AZ_COMPONENT (EditorSelectionAccentSystemComponent, "{6E0F0E2C-1FE5-4AFB-9672-DC92B3D2D844}")
 
void Activate () override
 
void Deactivate () override
 
void BeforeEntitySelectionChanged () override
 
void AfterEntitySelectionChanged (const AzToolsFramework::EntityIdList &, const AzToolsFramework::EntityIdList &) override
 
void BeforeEntityHighlightingChanged () override
 
void AfterEntityHighlightingChanged () override
 
void ForceSelectionAccentRefresh () override
 

Static Public Member Functions

static void Reflect (AZ::ReflectContext *context)
 

Protected Member Functions

void QueueAccentRefresh ()
 Queues the invalidation, recalculation and application of accents.
 
void InvalidateAccents ()
 Invalidates all currently applied accents.
 
void RecalculateAndApplyAccents ()
 Recalculates and applies accenting on the currently selected set of entities.
 

Static Protected Member Functions

static void GetProvidedServices (AZ::ComponentDescriptor::DependencyArrayType &provided)
 

Protected Attributes

AZStd::unordered_set< AZ::EntityId > m_currentlyAccentedEntities
 
bool m_isAccentRefreshQueued = false
 

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