UInteractiveToolPropertySet::SaveProperties

Setting saving/serialization Save and restore values of current Tool Properties between tool invocations

Windows
MacOS
Linux

References

Module

InteractiveToolsFramework

Header

/Engine/Source/Runtime/Experimental/InteractiveToolsFramework/Public/InteractiveTool.h

Include

#include "InteractiveTool.h"

Source

/Engine/Source/Runtime/Experimental/InteractiveToolsFramework/Private/InteractiveTool.cpp

Syntax

virtual void SaveProperties
(
    UInteractiveTool * SaveFromTool
)

Remarks

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

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss