Navigation
API > API/Runtime > API/Runtime/InteractiveToolsFramework
Description
Count number of selected components that pass predicate. If Component selection is not empty, returns that count, otherwise counts in all selected Actors
| Name | ToolBuilderUtil::CountComponents |
| Type | function |
| Header File | /Engine/Source/Runtime/InteractiveToolsFramework/Public/ToolBuilderUtil.h |
| Include Path | #include "ToolBuilderUtil.h" |
| Source | /Engine/Source/Runtime/InteractiveToolsFramework/Private/ToolBuilderUtil.cpp |
namespace ToolBuilderUtil
{
INTERACTIVETOOLSFRAMEWORK_API int ToolBuilderUtil::CountComponents
(
const FToolBuilderState & InputState,
const TFunction < bool> & Predicate
)
}