AGroupActor::GetRootForActor

Returns the highest found root for the given actor or null if one is not found.

Windows
MacOS
Linux

References

Module

UnrealEd

Header

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

Include

#include "Editor/GroupActor.h"

Source

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

Syntax

static AGroupActor * GetRootForActor
(
    AActor * InActor,
    bool bMustBeLocked,
    bool bMustBeSelected,
    bool bMustBeUnlocked,
    bool bMustBeUnselected
)

Remarks

Returns the highest found root for the given actor or null if one is not found. Qualifications of root can be specified via optional parameters.

Returns

The topmost group actor for this actor. Returns null if none exists using the given conditions.

Parameters

Parameter

Description

InActor

Actor to find a group root for.

bMustBeLocked

Flag designating to only return the topmost locked group.

bMustBeSelected

Flag designating to only return the topmost selected group.

bMustBeUnlocked

Flag designating to only return the topmost unlocked group.

bMustBeUnselected

Flag designating to only return the topmost unselected group.

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