Navigation
API > API/Editor > API/Editor/UnrealEd > API/Editor/UnrealEd/AGroupActor
Description
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.
| Name | GetRootForActor |
| Type | function |
| Header File | /Engine/Source/Editor/UnrealEd/Classes/Editor/GroupActor.h |
| Include Path | #include "Editor/GroupActor.h" |
| Source | /Engine/Source/Editor/UnrealEd/Private/GroupActor.cpp |
static AGroupActor * GetRootForActor
(
AActor * InActor,
bool bMustBeLocked,
bool bMustBeSelected,
bool bMustBeUnlocked,
bool bMustBeUnselected
)
The topmost group actor for this actor. Returns null if none exists using the given conditions.
Parameters
| Name | Remarks |
|---|---|
| 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. |