UInteractiveTool::ReplaceToolPropertySource

Replace a PropertySet object on this Tool with another property set.

Choose your operating system:

Windows

macOS

Linux

References

Module

InteractiveToolsFramework

Header

/Engine/Source/Runtime/InteractiveToolsFramework/Public/InteractiveTool.h

Include

#include "InteractiveTool.h"

Source

/Engine/Source/Runtime/InteractiveToolsFramework/Private/InteractiveTool.cpp

Syntax

virtual bool ReplaceToolPropertySource
(
    UInteractiveToolPropertySet * CurPropertySet,
    UInteractiveToolPropertySet * ReplaceWith,
    bool bSetToEnabled
)

Remarks

Replace a PropertySet object on this Tool with another property set. If replaced, will broadcast OnPropertySetsModified

Returns

true if CurPropertySet is found and replaced

Parameters

Parameter

Description

CurPropertySet

property set to remove

ReplaceWith

property set to add

bSetToEnabled

if true, ReplaceWith property set is explicitly enabled (otherwise enable/disable state is unmodified)