Navigation
API > API/Plugins > API/Plugins/SlateInspectorToolset > API/Plugins/SlateInspectorToolset/USlateInspectorToolset
Description
Register an observer on a widget subtree so its refs are continuously kept up to date (~100ms tick). Call this on the window or panel you are about to work with. It ensures new widgets appearing in that subtree are assigned refs automatically. Unobserve when you are done. A shallow root observer (depth 0) already covers top-level windows.
| Name | Observe |
| Type | function |
| Header File | /Engine/Plugins/Experimental/Toolsets/SlateInspectorToolset/Source/SlateInspectorToolset/Public/SlateInspectorToolset.h |
| Include Path | #include "SlateInspectorToolset.h" |
| Source | /Engine/Plugins/Experimental/Toolsets/SlateInspectorToolset/Source/SlateInspectorToolset/Private/SlateInspectorToolset.cpp |
UFUNCTION (Meta=(AICallable), Category="SlateInspectorToolset")
static FString Observe
(
const FString & Ref,
int32 MaxDepth
)
Parameters
| Name | Remarks |
|---|---|
| Ref | Root widget ref to observe. Empty = all visible windows. |
| MaxDepth | Maximum depth to walk from the root. |