Navigation
API > API/Runtime > API/Runtime/Engine
Unregisters multiple components for the lifetime of this class.
Typically used by constructing the class on the stack: { FMultiComponentReregisterContext ReregisterContext(arrayOfComponents); // The components are unregistered with the world here as ReregisterContext is constructed. ... } // The components are registered with the world here as ReregisterContext is destructed.
| Name | FMultiComponentReregisterContext |
| Type | class |
| Header File | /Engine/Source/Runtime/Engine/Public/ComponentReregisterContext.h |
| Include Path | #include "ComponentReregisterContext.h" |
Syntax
class FMultiComponentReregisterContext : public FComponentReregisterContextBase
Inheritance Hierarchy
- FComponentReregisterContextBase → FMultiComponentReregisterContext
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FMultiComponentReregisterContext
(
const TArray< UActorComponent* >& InComponents |
ComponentReregisterContext.h |
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
~FMultiComponentReregisterContext() |
ComponentReregisterContext.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| ComponentsPair | TArray< FMultiComponentReregisterPair > | Component pairs that need to be re registered | ComponentReregisterContext.h |