Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/GameFramework > API/Runtime/Engine/GameFramework/AActor
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 |
void DetachAllSceneComponents
(
class USceneComponent * InParentComponent,
const FDetachmentTransformRules & DetachmentRules
)
Remarks
Detaches all SceneComponents in this Actor from the supplied parent SceneComponent.
Parameters
| Name | Description |
|---|---|
| InParentComponent | SceneComponent to detach this actor's components from |
| DetachmentRules | Rules to apply when detaching components |