I’m going to convert project ue4 to ue5.
However, there are issues such as engine::FVector = FVector3f → FVector3d.
I want to use the operator= function. And then I search it, but it’s not there
So how do I convert it
project code used FVector3f.
I’m going to convert project ue4 to ue5.
However, there are issues such as engine::FVector = FVector3f → FVector3d.
I want to use the operator= function. And then I search it, but it’s not there
So how do I convert it
project code used FVector3f.
At very least you always can do :
FVector3f src;
FVector3d dst(src.X, src.Y, src.Z);
Can’t check constructors list right now, but probably there is one that able to perform conversion directly.
I found this
that say, “only falling back to the explicit FVector3f or FVector3d types where you absolutely need to ensure a particular type”
But,
It is already in use(FVector3f) in many places in the project, so it is difficult to explicitly change the shape.