PlayerController-GetHitResultUnderCursor(CollisionChannel_Hit_bool).md

April 18, 2021 ยท View on GitHub

UnrealEngine.Framework.PlayerController

PlayerController.GetHitResultUnderCursor(UnrealEngine.Framework.CollisionChannel, UnrealEngine.Framework.Hit, bool) Method

Retrieves the first blocking hit under the mouse cursor

public bool GetHitResultUnderCursor(UnrealEngine.Framework.CollisionChannel traceChannel, ref UnrealEngine.Framework.Hit hit, bool traceComplex=false);

Parameters

traceChannel CollisionChannel

hit Hit

traceComplex System.Boolean

Returns

System.Boolean
true on success