UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
FComponentReregisterContext Class Reference

#include <ComponentReregisterContext.h>

+ Inheritance diagram for FComponentReregisterContext:

Public Member Functions

 FComponentReregisterContext (UActorComponent *InComponent, TSet< FSceneInterface * > *InScenesToUpdateAllPrimitiveSceneInfos=nullptr)
 
 ~FComponentReregisterContext ()
 

Additional Inherited Members

- Protected Member Functions inherited from FComponentReregisterContextBase
ENGINE_API UWorldUnRegister (UActorComponent *InComponent)
 
ENGINE_API void ReRegister (UActorComponent *InComponent, UWorld *InWorld)
 
- Protected Attributes inherited from FComponentReregisterContextBase
TSet< FSceneInterface * > * ScenesToUpdateAllPrimitiveSceneInfos = nullptr
 

Detailed Description

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.

Constructor & Destructor Documentation

◆ FComponentReregisterContext()

FComponentReregisterContext::FComponentReregisterContext ( UActorComponent InComponent,
TSet< FSceneInterface * > *  InScenesToUpdateAllPrimitiveSceneInfos = nullptr 
)
inline

◆ ~FComponentReregisterContext()

FComponentReregisterContext::~FComponentReregisterContext ( )
inline

The documentation for this class was generated from the following file: