unreal.MoverUserDefinedDataStruct

class unreal.MoverUserDefinedDataStruct

Bases: MoverDataStructBase

Wrapper class that’s used to add User-Defined Struct instances to Mover Data Collections (input or state). This allows devs to add custom data to inputs and/or state without requiring native code. Note that these are typically less efficient than natively-defined structs, and the logic of operations like interpolation, merging, and serialization may be simplistic for a project’s needs. At present: - any differences between any struct contents will trigger reconciliation, even small floating point number differences - only boolean values can be merged - interpolation will take the entire struct instance from the highest weight frame

C++ Source:

  • Plugin: Mover

  • Module: Mover

  • File: UserDefinedStructSupport.h