ToolSetupUtil::GetSelectionMaterial

Windows
MacOS
Linux

References

Module

ModelingComponents

Header

/Engine/Plugins/Experimental/MeshModelingToolset/Source/ModelingComponents/Public/ToolSetupUtil.h

Include

#include "ToolSetupUtil.h"

Source

/Engine/Plugins/Experimental/MeshModelingToolset/Source/ModelingComponents/Private/ToolSetupUtil.cpp

Syntax

namespace ToolSetupUtil
{
    UMaterialInterface * ToolSetupUtil::GetSelectionMaterial
    (
        const FLinearColor & UseColor,
        UInteractiveToolManager * ToolManager,
        float PercentDepthOffset
    )
}

Returns

Selection Material 1 with custom color and optional depth offset (depth offset moves vertices towards the camera)

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