USceneComponent::SnapTo

Syntax

bool SnapTo
(
    USceneComponent * InParent,
    FName InSocketName
)

Remarks

Zeroes out the relative transform of the component, and calls AttachTo() . Useful for attaching directly to a scene component or socket location

References

Module

Engine

Header

Runtime/Engine/Classes/Components/SceneComponent.h

Source

Runtime/Engine/Private/Components/SceneComponent.cpp