Navigation
API > API/Runtime > API/Runtime/SlateCore
Captures the previously registered scene index on construction and restores it on destruction so that nested registrations compose correctly even across early returns.
| Name | FSceneRegistrationScope |
| Type | class |
| Header File | /Engine/Source/Runtime/SlateCore/Public/Rendering/SlateRenderer.h |
| Include Path | #include "Rendering/SlateRenderer.h" |
Syntax
class FSceneRegistrationScope
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
| Rendering/SlateRenderer.h | |||
FSceneRegistrationScope
(
FSceneRegistrationScope&& Other |
Rendering/SlateRenderer.h | ||
FSceneRegistrationScope
(
const FSceneRegistrationScope& |
Rendering/SlateRenderer.h | ||
FSceneRegistrationScope
(
FSlateRenderer& InRenderer, |
Rendering/SlateRenderer.h |
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
~FSceneRegistrationScope() |
Rendering/SlateRenderer.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| CurrentSceneIndex | int32 | Rendering/SlateRenderer.h | ||
| PreviousSceneIndex | int32 | Rendering/SlateRenderer.h | ||
| Renderer | FSlateRenderer * | Rendering/SlateRenderer.h |
Functions
Public
Operators
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
operator int32() |
Rendering/SlateRenderer.h | ||
FSceneRegistrationScope & operator=
(
FSceneRegistrationScope&& Other |
Rendering/SlateRenderer.h | ||
FSceneRegistrationScope & operator=
(
const FSceneRegistrationScope& |
Rendering/SlateRenderer.h |