ToolBuilderUtil::CountSelectedComponentsOfType

Count number of components of given type.

Windows
MacOS
Linux

References

Module

InteractiveToolsFramework

Header

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

Include

#include "ToolBuilderUtil.h"

Syntax

namespace ToolBuilderUtil
{
    template<typename ComponentType>
    int ToolBuilderUtil::CountSelectedComponentsOfType
    (
        const FToolBuilderState & InputState
    )
}

Remarks

Count number of components of given type. If Component selection is not empty, returns that count, otherwise counts in all selected Actors

Template Implementations

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