Navigation
API > API/Runtime > API/Runtime/InteractiveToolsFramework > API/Runtime/InteractiveToolsFramework/UInteractiveTool
Description
Replace a PropertySet object on this Tool with another property set. If replaced, will broadcast OnPropertySetsModified
| Name | ReplaceToolPropertySource |
| Type | function |
| Header File | /Engine/Source/Runtime/InteractiveToolsFramework/Public/InteractiveTool.h |
| Include Path | #include "InteractiveTool.h" |
| Source | /Engine/Source/Runtime/InteractiveToolsFramework/Private/InteractiveTool.cpp |
virtual bool ReplaceToolPropertySource
(
UInteractiveToolPropertySet * CurPropertySet,
UInteractiveToolPropertySet * ReplaceWith,
bool bSetToEnabled
)
true if CurPropertySet is found and replaced
Parameters
| Name | Remarks |
|---|---|
| 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) |