class
CArcFocusScope
- Module
- Arc
- Header
#include "Arc/Framework/CArcFocusScope.h"- Namespace
Arcf
Constructors
| Signature | Name | Description |
|---|---|---|
CArcFocusScope() = default | CArcFocusScope | |
explicit CArcFocusScope(const CName& id) | CArcFocusScope | |
~CArcFocusScope() | ~CArcFocusScope | |
CArcFocusScope(const CArcFocusScope&) = delete | CArcFocusScope |
Public functions
| Returns | Name | Description |
|---|---|---|
CArcFocusScope& | operator= | |
void | SetId | Names the scope and registers it. |
const CName& | GetId | |
void | AddRootWidget | Stamps widget as a root of this scope. |
CArcCommandList& | GetCommandList | |
const CArcCommandList& | GetCommandList | |
bool | HasFocus | True while the focused widget sits inside one of this scope's roots. |
bool | OwnsInput | The guard shape the editor's panels use. |
Function details
CArcFocusScope
C++
CArcFocusScope() = defaultCArcFocusScope
C++
explicit CArcFocusScope(const CName& id)~CArcFocusScope
C++
~CArcFocusScope()CArcFocusScope
C++
CArcFocusScope(const CArcFocusScope&) = deleteoperator=
C++
CArcFocusScope& operator=(const CArcFocusScope&) = deleteSetId
C++
void SetId(const CName& id)Names the scope and registers it. Safe to call repeatedly with the same id; changing the id of a live scope re-registers it.
GetId
C++
const CName& GetId() constAddRootWidget
C++
void AddRootWidget(const TSharedPtr<AWidget>& widget)Stamps widget as a root of this scope. A panel that rebuilds its root calls this again with the new one; the stale widget dies with its stamp, so nothing has to be unstamped.
GetCommandList
C++
CArcCommandList& GetCommandList()GetCommandList
C++
const CArcCommandList& GetCommandList() constHasFocus
C++
bool HasFocus() constTrue while the focused widget sits inside one of this scope's roots.
OwnsInput
C++
bool OwnsInput(bool pointerFallback) constThe guard shape the editor's panels use. Focus decides whenever ANY scope owns it; pointerFallback decides only when none does, which is what keeps a user who never clicks into a panel exactly where they were before scopes existed.
Generated from Arc/Framework/CArcFocusScope.h via arc.json · Nov 5, 2026Version 1.0.0