FScopedPreventAttachedComponentMove

Utility for temporarily changing the behavior of a SceneComponent to use absolute transforms, and then restore it to the behavior at the start of the scope.

Choose your operating system:

Windows

macOS

Linux

Inheritance Hierarchy

FNoncopyable

FScopedPreventAttachedComponentMove

References

Module

Engine

Header

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

Include

#include "Components/SceneComponent.h"

Syntax

class FScopedPreventAttachedComponentMove : private FNoncopyable

Remarks

Utility for temporarily changing the behavior of a SceneComponent to use absolute transforms, and then restore it to the behavior at the start of the scope.

Constructors

Name Description

Public function

FScopedPreventAttachedComponentMove

(
    USceneComponent* Component
)

Init scoped behavior for a given Component.

Destructors