Navigation
API > API/Plugins > API/Plugins/IKRigEditor > API/Plugins/IKRigEditor/UIKRigStructWrapperBase
Description
NOTE: How to add multi-edit support to IK Rig settings structs. IK Rig settings structs can supply a "UIWrapper" meta data string with the path to a custom wrapper class to be displayed in the details panel when editing that struct.
In order to ensure that edits to the wrapper are pushed back to the actual struct-to-be-edited, the wrapper must inherit from UIKRigStructWrapperBase. This stores a pointer to the original memory and triggers callbacks when properties are edited to push those values back to the struct being edited.
By default, only a single struct under a UProperty named "Settings" will be displayed in the details panel. See example subclasses of UIKRigStructWrapperBase.
| Name | GetStructWrapperFromMetaData |
| Type | function |
| Header File | /Engine/Plugins/Animation/IKRig/Source/IKRigEditor/Public/RigEditor/IKRigStructViewer.h |
| Include Path | #include "RigEditor/IKRigStructViewer.h" |
static TSubclassOf< UIKRigStructWrapperBase > GetStructWrapperFromMetaData
(
const UScriptStruct * S
)