Module |
|
Header |
/Engine/Source/Editor/UnrealEd/Classes/Editor/EditorEngine.h |
Include |
#include "Editor/EditorEngine.h" |
Source |
/Engine/Source/Editor/UnrealEd/Private/EditorEngine.cpp |
void ParentActors
(
AActor * ParentActor,
AActor * ChildActor,
const FName SocketName,
USceneComponent * Component
)
Parents one actor to another Check the validity of this call with CanParentActors().
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 |