FScopedPreventAttachedComponentMove::FScopedPreventAttachedComponentMove

Init scoped behavior for a given Component.

Choose your operating system:

Windows

macOS

Linux

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Classes/Components/SceneComponent.h

Include

#include "Components/SceneComponent.h"

Source

/Engine/Source/Runtime/Engine/Private/Components/SceneComponent.cpp

Syntax

FScopedPreventAttachedComponentMove
(
    USceneComponent * Component
)

Remarks

Init scoped behavior for a given Component.

that null is perfectly acceptable here (does nothing) as a simple way to toggle behavior at runtime without weird conditional compilation.FScopedPreventAttachedComponentMove implementation