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