FComponentReregisterContext

Unregisters a component for the lifetime of this class.

Windows
MacOS
Linux

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

Name Description

Public function

FComponentReregisterContext

(
    UActorComponent* InComponent,
    TSet< FSceneInterface* >*...
)

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