UEditorEngine::ParentActors

Parents one actor to another Check the validity of this call with [CanParentActors()](API\Editor\UnrealEd\Editor\UEditorEngine\CanParentActors).

Windows
MacOS
Linux

References

Module

UnrealEd

Header

/Engine/Source/Editor/UnrealEd/Classes/Editor/EditorEngine.h

Include

#include "Editor/EditorEngine.h"

Source

/Engine/Source/Editor/UnrealEd/Private/EditorEngine.cpp

Syntax

void ParentActors
(
    AActor * ParentActor,
    AActor * ChildActor,
    const FName SocketName,
    USceneComponent * Component
)

Remarks

Parents one actor to another Check the validity of this call with CanParentActors().

Parameters

Parameter

Description

ParentActor

Actor to parent the child to

ChildActor

Actor being parented

SocketName

An optional socket name to attach to in the parent (use NAME_None when there is no socket)

Component

Actual Component included in the ParentActor which is a usually blueprint actor

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