Module |
|
Header |
/Engine/Source/Runtime/Experimental/InteractiveToolsFramework/Public/InteractiveTool.h |
Include |
#include "InteractiveTool.h" |
class UInteractiveToolPropertySet :
public UObject,
public FWatchablePropertySet
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 | ||
---|---|---|---|
|
bIsPropertySetEnabled |
||
|
CachedProperties |
CachedProperties should only ever be set to an instance of the subclass, ideally via GetPropertyCache(). |
|
|
OnModified |
Name | Description | ||
---|---|---|---|
|
UInteractive... |
GetDynamicPropertyCache() |
|
|
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 ( |
||
|
SaveProperties ( |
Setting saving/serialization Save and restore values of current Tool Properties between tool invocations |
Name | Description | ||
---|---|---|---|
|
PostEditChangeProperty ( |
Posts a message to the OnModified delegate with the modified FProperty |