EAttachmentRule

Syntax

enum EAttachmentRule
{
    KeepRelative,
    KeepWorld,
    SnapToTarget,
}

Values

Name

Description

KeepRelative

Keeps current relative transform as the relative transform to the new parent.

KeepWorld

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

SnapToTarget

Snaps transform to the attach point

Remarks

Rules for attaching components - needs to be kept synced to EDetachmentRule

References

Module

Engine

Header

Runtime/Engine/Classes/Engine/EngineTypes.h