FMultiComponentReregisterContext

Unregisters multiple components for the lifetime of this class.

Windows
MacOS
Linux

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

Name Description

Public function

FMultiComponentReregisterContext

(
    const TArray< UActorComponent*...
)

Destructors

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss