C++ parameter is also return value?

anonymous_user_68436a09
Tue, 07 Jul 2015 17:18:08 +0000
Editor Scripting

Hi,

as a Java programmer, I have problems understanding how it works that the following two lines of code actually update currentMousePos_ with the new mouse position? :

FVector2D currentMousePos_;
GEngine->GameViewport->GetMousePosition(currentMousePos_);

5 posts - 1 participant