bool ATankPlayerController::GetSightRayHitLocation(FVector& HitLocation) const
{
// Find the crosshair position in pixel coordinates
int32 ViewportSizeX, ViewportSizeY;
GetViewportSize(ViewportSizeX, ViewportSizeY);
Why do we need to use the “&” in the method signature, an not in the GetViewPortSize API method, if they are out parameters in both cases?
Is it because the int32’s where declared inside the method?