Navigation
API > API/Runtime > API/Runtime/Engine
Inheritance Hierarchy
- FComponentReregisterContextBase
- FComponentReregisterContext
References
| Module | Engine |
| Header | /Engine/Source/Runtime/Engine/Public/ComponentReregisterContext.h |
| Include | #include "ComponentReregisterContext.h" |
Syntax
class FComponentReregisterContext : public FComponentReregisterContextBase
Remarks
Unregisters a component for the lifetime of this class.
Typically used by constructing the class on the stack: { FComponentReregisterContext ReregisterContext(this); // The component is unregistered with the world here as ReregisterContext is constructed. ... } // The component is registered with the world here as ReregisterContext is destructed.
Constructors
| Type | Name | Description | |
|---|---|---|---|
FComponentReregisterContext
(
UActorComponent* InComponent, |
Destructors
| Type | Name | Description | |
|---|---|---|---|