UE::Geometry::RegisterPersistentMeshSelectionManager

The functions below are helper functions that simplify usage of a [UPersistentMeshSelectionManager](API\Plugins\ModelingComponents\Selection\UPersistentMeshSelectionManager) that is registered as a ContextStoreObject in an InteractiveToolsContext If one does not already exist, create a new instance of [UPersistentMeshSelectionManager](API\Plugins\ModelingComponents\Selection\UPersistentMeshSelectionManager) and add it to the ToolsContext's ContextObjectStore

Choose your operating system:

Windows

macOS

Linux

References

Module

ModelingComponents

Header

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

Include

#include "Selection/PersistentMeshSelectionManager.h"

Source

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

Syntax

namespace UE
{
    namespace Geometry
    {
        bool UE::Geometry::RegisterPersistentMeshSelectionManager
        (
            UInteractiveToolsContext * ToolsContext
        )
    }
}

Remarks

The functions below are helper functions that simplify usage of a UPersistentMeshSelectionManager that is registered as a ContextStoreObject in an InteractiveToolsContext If one does not already exist, create a new instance of UPersistentMeshSelectionManager and add it to the ToolsContext's ContextObjectStore

Returns

true if the ContextObjectStore now has a UPersistentMeshSelectionManager (whether it already existed, or was created)