UEditorEngine::CanParentActors

Checks the validity of parenting one actor to another

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

bool CanParentActors
(
    const AActor * ParentActor,
    const AActor * ChildActor,
    FText * ReasonText
)

Remarks

Checks the validity of parenting one actor to another

Returns

true if the parenting action is valid and will succeed, false if invalid.

Parameters

Parameter

Description

ParentActor

Actor to parent the child to

ChildActor

Actor being parented

ReasonText

Optional text to receive a description of why the function returned false.

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