PlayerController-GetHitResultAtScreenPosition(Vector2_CollisionChannel_Hit_bool).md
April 18, 2021 ยท View on GitHub
UnrealEngine.Framework.PlayerController
PlayerController.GetHitResultAtScreenPosition(System.Numerics.Vector2, UnrealEngine.Framework.CollisionChannel, UnrealEngine.Framework.Hit, bool) Method
Retrieves the first blocking hit from the position on the screen
public bool GetHitResultAtScreenPosition(in System.Numerics.Vector2 screenPosition, UnrealEngine.Framework.CollisionChannel traceChannel, ref UnrealEngine.Framework.Hit hit, bool traceComplex=false);
Parameters
screenPosition System.Numerics.Vector2
traceChannel CollisionChannel
hit Hit
traceComplex System.Boolean
Returns
System.Boolean
true on success