ToolBuilderUtil::CountComponents

Count number of selected components that pass predicate.

Windows
MacOS
Linux

References

Module

InteractiveToolsFramework

Header

/Engine/Source/Runtime/Experimental/InteractiveToolsFramework/Public/ToolBuilderUtil.h

Include

#include "ToolBuilderUtil.h"

Source

/Engine/Source/Runtime/Experimental/InteractiveToolsFramework/Private/ToolBuilderUtil.cpp

Syntax

namespace ToolBuilderUtil
{
    INTERACTIVETOOLSFRAMEWORK_API int ToolBuilderUtil::CountComponents
    (
        const FToolBuilderState & InputState,
        const TFunction< bool *)> & 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

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss