Value of FProperty

@bierbrian It’s from FProperty, but you have to cast it. E.g. for a bool property you get the bool with:

if(Property->IsA(FBoolProperty::StaticClass())) {
  const FBoolProperty* BoolProperty = static_cast<FBoolProperty*>(Property);
  bool Value = BoolProperty - > GetPropertyValue_InContainer(Object);
  // ...
}

All core types like float, double, int, … have such a helper function to get the value.

3 Likes