Lots of work on look-at widgets
This commit is contained in:
@@ -77,6 +77,9 @@ public:
|
||||
// Be aware that (0.0, 0.0) is the upper-left corner of the upper-left pixel,
|
||||
// whereas (0.5, 0.5) is the center of the upper-left pixel.
|
||||
//
|
||||
// The resulting TraceStart and TraceEnd fields of the HitResult will not
|
||||
// contain world positions, instead, they will contain the PixelXY.
|
||||
//
|
||||
UFUNCTION(BlueprintCallable, Category="Collision", meta=(AutoCreateRefTerm="ActorsToIgnore", Keywords="raycast"))
|
||||
static bool LineTraceThroughPixel(const APlayerController* PlayerController,
|
||||
FVector2D PixelXY, double MaxDistanceFromCamera,
|
||||
|
||||
Reference in New Issue
Block a user