Module |
|
Header |
/Engine/Source/Runtime/Experimental/InteractiveToolsFramework/Public/InteractiveTool.h |
Include |
#include "InteractiveTool.h" |
class UInteractiveToolPropertySet : public UObject
A UInteractiveTool contains a set of UObjects that contain "properties" of the Tool, ie the configuration flags, parameters, etc that control the Tool. Currently any UObject can be added as a property set, however there is no automatic mechanism for those child UObjects to notify the Tool when a property changes.
If you make your property set UObjects subclasses of UInteractiveToolPropertySet, then when the Tool Properties are changed in the Editor, the parent Tool will be automatically notified. You can override UInteractiveTool::OnPropertyModified() to act on these notifications
Name | Description | ||
---|---|---|---|
|
OnModified |
Name | Description | ||
---|---|---|---|
|
FInteractive... |
GetOnModified() |
|
|
ObjType *... |
GetPropertyCache() |
GetPropertyCache returns a class-internal object that subclasses can use to save/restore properties. |
|
IsPropertySetEnabled() |
Return true if this property set is enabled. |
|
|
RestoreProperties ( |
Restore saved property values |
|
|
SaveProperties ( |
Setting saving/serialization Save values of current Tool Properties. |
|
|
SaveRestoreProperties ( |
Subclass this to save and restore in a single function. |
|
|
SaveRestoreProperty ( |
Call this from SaveRestoreProperties to either save or restore a given property value |
Name | Description | ||
---|---|---|---|
|
PostEditChangeProperty ( |
Posts a message to the OnModified delegate with the modified FProperty |