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

#include <ComponentReregisterContext.h>

+ Inheritance diagram for FMultiComponentReregisterContext:

Public Member Functions

 FMultiComponentReregisterContext (const TArray< UActorComponent * > &InComponents)
 
 ~FMultiComponentReregisterContext ()
 

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 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.

Constructor & Destructor Documentation

◆ FMultiComponentReregisterContext()

FMultiComponentReregisterContext::FMultiComponentReregisterContext ( const TArray< UActorComponent * > &  InComponents)
inline

◆ ~FMultiComponentReregisterContext()

FMultiComponentReregisterContext::~FMultiComponentReregisterContext ( )
inline

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