Closed j9liu closed 6 months ago
This all looks good to me. Is there anything that needs to be mentioned in CHANGES.md? The newly-uncommented code, maybe?
@kring Good point, I added a note about re-adding the backwards compatibility for feature textures.
Thanks @j9liu!
Many of the type conversions in
CesiumMetadataConversions.h
were moved tocesium-native
so they could be made available in Unity. This PR removes the duplicate functionality in Cesium for Unreal, replacing it with calls toCesiumGltf::MetadataConversions
instead.Some conversions were Unreal-reliant, e.g. converting to
FString
orFVector3f
. SoCesiumMetadataConversions
has actually been renamed toUnrealMetadataConversions
, and some relevant functions were added to convert from thecesium-native
to the Unreal type.Also, I realized that in
CesiumEncodedMetadataUtility.cpp
I had left some code commented out. So I uncommented the code + updated it for backwards compatibility.