I have strings with values that can be floats, int32s, object references, FStrings or FNames. I know how to cast the FProperty so I get the correct type, but then I don’t know how to set it to the object that has that FProperties.
I’ve seen some examples in the engine, but ultimately they use a uint8* that I assume it is the actual address of the property of the object in memory. Am I right? How can I get that? Is SetPropertyValue and SetPropertyValue_InContainer the way to go?
How can I get an UObject, get all the FProperties, cast those FProperties to FStrProperty, FObjectProperty, FFloatProperty and so on, and then set the value to the instance of that UObject?
This is exactly what i want to do. But following your step, the property changing can only be seen in the details table. which means that I can not see the changing in the view port. I think may be the way to get the object and property is wrong? I did not get the instance in the level?
could you please provide me with a relative full code which also shows how to get the “item” and “property”? Much thanks