![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
Functions | |
| bool | IsABuilderBrush (const AActor *InActor) |
| bool | IsABrush (const AActor *InActor) |
| bool | IsAPreviewOrInactiveActor (const AActor *InActor) |
| void | GetEditableComponents (const AActor *InActor, TArray< UActorComponent * > &OutEditableComponents) |
| bool | TraverseActorTree_ParentFirst (AActor *InActor, TFunctionRef< bool(AActor *)> InPredicate, bool bIncludeThisActor) |
| bool | TraverseActorTree_ChildFirst (AActor *InActor, TFunctionRef< bool(AActor *)> InPredicate, bool bIncludeThisActor) |
| bool | ValidateActorName (const FText &InName, FText &OutErrorMessage) |
| bool | ValidateActorLabel (FStringView InName, FText &OutErrorMessage) |
| ENGINE_API void FActorEditorUtils::GetEditableComponents | ( | const AActor * | InActor, |
| TArray< UActorComponent * > & | OutEditableComponents | ||
| ) |
Gets a list of components, from an actor, which can be externally modified. Editable components have properties visible when viewing their owner actor in a details view
| InActor | The actor to get components from |
| OutEditableComponents | The populated list of editable components on InActor |
| ENGINE_API bool FActorEditorUtils::IsABrush | ( | const AActor * | InActor | ) |
Return whether this actor is an ABrush or not.
| ENGINE_API bool FActorEditorUtils::IsABuilderBrush | ( | const AActor * | InActor | ) |
Return whether this actor is a builder brush or not.
| ENGINE_API bool FActorEditorUtils::IsAPreviewOrInactiveActor | ( | const AActor * | InActor | ) |
Return whether this actor is a preview actor or not.
| ENGINE_API bool FActorEditorUtils::TraverseActorTree_ChildFirst | ( | AActor * | InActor, |
| TFunctionRef< bool(AActor *)> | InPredicate, | ||
| bool | bIncludeThisActor = true |
||
| ) |
Traverse an actor sub-tree (defined by attached children), child first.
| InActor | The Actor to traverse. InPredicate is only invoked for this actor where bIncludeThisActor is true |
| InPredicate | Predicate to call for each actor of the traversal. Return true to continue, false to terminate the traversal |
| bIncludeThisActor | True to include this actor in the traversal, false otherwise |
| ENGINE_API bool FActorEditorUtils::TraverseActorTree_ParentFirst | ( | AActor * | InActor, |
| TFunctionRef< bool(AActor *)> | InPredicate, | ||
| bool | bIncludeThisActor = true |
||
| ) |
Traverse an actor sub-tree (defined by attached children), parent first.
| InActor | The Actor to traverse. InPredicate is only invoked for this actor where bIncludeThisActor is true |
| InPredicate | Predicate to call for each actor of the traversal. Return true to continue, false to terminate the traversal |
| bIncludeThisActor | True to include this actor in the traversal, false otherwise |
| ENGINE_API bool FActorEditorUtils::ValidateActorLabel | ( | FStringView | InName, |
| FText & | OutErrorMessage | ||
| ) |
Validates that a name is suitable for an actor
| InName | The proposed actor name |
| OutErrorMessage | Any error messages generated as a result of validation |
| ENGINE_API bool FActorEditorUtils::ValidateActorName | ( | const FText & | InName, |
| FText & | OutErrorMessage | ||
| ) |
Validates that a name is suitable for an actor
| InName | The proposed actor name |
| OutErrorMessage | Any error messages generated as a result of validation |