UE::Geometry::GetCurrentToolInputSelection

Given a [FToolBuilderState](API\Runtime\InteractiveToolsFramework\FToolBuilderState), determine if an Input Selection exists that is applicable to the ToolTarget

Choose your operating system:

Windows

macOS

Linux

References

Module

ModelingComponents

Header

/Engine/Plugins/Runtime/MeshModelingToolset/Source/ModelingComponents/Public/Selection/StoredMeshSelectionUtil.h

Include

#include "Selection/StoredMeshSelectionUtil.h"

Source

/Engine/Plugins/Runtime/MeshModelingToolset/Source/ModelingComponents/Private/Selection/StoredMeshSelectionUtil.cpp

Syntax

namespace UE
{
    namespace Geometry
    {
        const UPersistentMeshSelection * UE::Geometry::GetCurrentToolInputSelection
        (
            const FToolBuilderState & SceneState,
            UToolTarget * Target
        )
    }
}

Remarks

Given a FToolBuilderState, determine if an Input Selection exists that is applicable to the ToolTarget

Returns

Selection if found, or nullptr if not