Would using a pointer instead of reference work (in principle) for OUT param?

so instead of

GetSightRayHitLocation(FVector& OutHitLocation) ;

we have

GetSightRayHitLocation(FVector OutHitLocation) ;*

and pass in the &OutHitLocation

Privacy & Terms