Navigation
API > API/Plugins > API/Plugins/ScriptableToolsFramework > API/Plugins/ScriptableToolsFramework/UScriptableInteractiveTool
References
| Module | ScriptableToolsFramework |
| Header | /Engine/Plugins/Experimental/ScriptableToolsFramework/Source/ScriptableToolsFramework/Public/ScriptableInteractiveTool.h |
| Include | #include "ScriptableInteractiveTool.h" |
| Source | /Engine/Plugins/Experimental/ScriptableToolsFramework/Source/ScriptableToolsFramework/Private/ScriptableInteractiveTool.cpp |
UFUNCTION&40;BlueprintCallable, Category&61;"ScriptableTool&124;PropertySets"&41;
UScriptableInteractiveToolPropertySet &42; WatchEnumProperty
&40;
UScriptableInteractiveToolPropertySet &42; PropertySet,
FString PropertyName,
const FToolEnumPropertyModifiedDelegate & OnModified
&41;
Remarks
Watch an Enum-valued Property for changes. Note that in this case the OnModified delegate will be called with a uint8 integer, which can be cast back to the original Enum type.
Parameters
| Name | Description |
|---|---|
| PropertySet | the Property Set which contains the desired Property to watch. |
| PropertyName | the string name of the Property in the given Property Set |
| OnModified | this delegate will be called if the Property value changes. |