Language:
Discover
By Skill Level
By Category

USceneComponent::DetachFromComponent

Choose your OS:

Syntax

virtual void DetachFromComponent
(
    const FDetachmentTransformRules & DetachmentRules
)

Remarks

Detach this component from whatever it is attached to. Automatically unwelds components that are welded together (See WeldTo)

Parameters

Parameter

Description

DetachmentRules

How to handle transforms & modification when detaching.

References

Module

Engine

Header

Runtime/Engine/Classes/Components/SceneComponent.h

Source

Runtime/Engine/Private/Components/SceneComponent.cpp