Navigation
Unreal Engine C++ API Reference > Runtime > Engine
Inheritance Hierarchy
- FComponentReregisterContextBase
- FMultiComponentReregisterContext
References
Module | Engine |
Header | /Engine/Source/Runtime/Engine/Public/ComponentReregisterContext.h |
Include | #include "ComponentReregisterContext.h" |
Syntax
class FMultiComponentReregisterContext : public FComponentReregisterContextBase
Remarks
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.
Constructors
Type | Name | Description | |
---|---|---|---|
![]() |
FMultiComponentReregisterContext
(
const TArray< UActorComponent* >& InComponents |
Destructors
Type | Name | Description | |
---|---|---|---|
![]() |