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&58;&58;CountComponents
&40;
const FToolBuilderState & InputState,
const TFunction< bool(UActorComponent &42;)> & Predicate
&41;
}
Remarks
Count number of selected components that pass predicate. If Component selection is not empty, returns that count, otherwise counts in all selected Actors