Module |
|
Header |
/Engine/Source/Runtime/Experimental/InteractiveToolsFramework/Public/InteractiveTool.h |
Include |
#include "InteractiveTool.h" |
Source |
/Engine/Source/Runtime/Experimental/InteractiveToolsFramework/Private/InteractiveTool.cpp |
virtual void SaveProperties
(
UInteractiveTool * SaveFromTool
)
Setting saving/serialization Save and restore values of current Tool Properties between tool invocations
The default behaviour of these functions is to Save or Restore every property in the property set. It is not necessary to save/restore all possible Properties (in many cases this would not make sense), so individual properties may be skipped by adding the "TransientToolProperty" tag to their metadata on a property by property basis.
Property sets which need more exotic behaviour upon Save and Restore may override these routines
GetPropertyCache() and GetDynamicPropertyCache() can be used to return an instance of either the static or the dynamic type of the specified property set subclass which may be used as a place to save/restore these properties by customized Save/Restore functions