![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
#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 UWorld * | UnRegister (UActorComponent *InComponent) |
| ENGINE_API void | ReRegister (UActorComponent *InComponent, UWorld *InWorld) |
Protected Attributes inherited from FComponentReregisterContextBase | |
| TSet< FSceneInterface * > * | ScenesToUpdateAllPrimitiveSceneInfos = nullptr |
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.
|
inline |
|
inline |