AActor::DetachAllSceneComponents

Detaches all SceneComponents in this Actor from the supplied parent SceneComponent.

Windows
MacOS
Linux

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Classes/GameFramework/Actor.h

Include

#include "GameFramework/Actor.h"

Source

/Engine/Source/Runtime/Engine/Private/Actor.cpp

Syntax

void DetachAllSceneComponents
(
    class USceneComponent * InParentComponent,
    const FDetachmentTransformRules & DetachmentRules
)

Remarks

Detaches all SceneComponents in this Actor from the supplied parent SceneComponent.

Parameters

Parameter

Description

InParentComponent

SceneComponent to detach this actor's components from

DetachmentRules

Rules to apply when detaching components

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