EDetachmentRule

Rules for detaching components - needs to be kept synced to EAttachmentRule

Windows
MacOS
Linux

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Classes/Engine/EngineTypes.h

Include

#include "Engine/EngineTypes.h"

Syntax

enum EDetachmentRule
{
    KeepRelative,
    KeepWorld,
}

Values

Name

Description

KeepRelative

Keeps current relative transform.

KeepWorld

Automatically calculates the relative transform such that the detached component maintains the same world transform.

Remarks

Rules for detaching components - needs to be kept synced to EAttachmentRule

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