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::FocusModeNotifications Class Reference

Used to notify when the editor focus changes. More...

#include <FocusModeNotificationBus.h>

Inherits AZ::EBusTraits.

Public Types

using BusIdType = AzFramework::EntityContextId
 

Public Member Functions

virtual void OnEditorFocusChanged (AZ::EntityId previousFocusEntityId, AZ::EntityId newFocusEntityId)
 

Static Public Attributes

static const AZ::EBusHandlerPolicy HandlerPolicy = AZ::EBusHandlerPolicy::Multiple
 
static const AZ::EBusAddressPolicy AddressPolicy = AZ::EBusAddressPolicy::ById
 

Detailed Description

Used to notify when the editor focus changes.

Member Function Documentation

◆ OnEditorFocusChanged()

virtual void AzToolsFramework::FocusModeNotifications::OnEditorFocusChanged ( AZ::EntityId  previousFocusEntityId,
AZ::EntityId  newFocusEntityId 
)
inlinevirtual

Triggered when the editor focus is changed to a different entity.

Parameters
previousFocusEntityIdThe entity the focus has been moved from.
newFocusEntityIdThe entity the focus has been moved to.

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