ToolBuilderUtil::FindFirstComponent

First first available component that passes 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 UActorComponent * ToolBuilderUtil::FindFirstComponent
    (
        const FToolBuilderState & InputState,
        const TFunction< bool *)> & Predicate
    )
}

Remarks

First first available component that passes predicate. Searches Components selection list first, then all 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