Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/ULocalPlayer
Overloads
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
bool GetPixelBoundingBox
(
const FBox& ActorBox, |
This function will give you two points in Pixel Space that surround the World Space box. | Engine/LocalPlayer.h | |
static bool GetPixelBoundingBox
(
const FSceneViewProjectionData& ProjectionData, |
Engine/LocalPlayer.h |
GetPixelBoundingBox(const FBox &, FVector2D &, FVector2D &, const FVector2f *)
Description
This function will give you two points in Pixel Space that surround the World Space box.
| Name | GetPixelBoundingBox |
| Type | function |
| Header File | /Engine/Source/Runtime/Engine/Classes/Engine/LocalPlayer.h |
| Include Path | #include "Engine/LocalPlayer.h" |
| Source | /Engine/Source/Runtime/Engine/Private/LocalPlayer.cpp |
bool GetPixelBoundingBox
(
const FBox & ActorBox,
FVector2D & OutLowerLeft,
FVector2D & OutUpperRight,
const FVector2f * OptionalAllotedSize
)
False if there is no viewport, or if the box is behind the camera completely
Parameters
| Name | Remarks |
|---|---|
| ActorBox | The World Space Box |
| OutLowerLeft | The Lower Left corner of the Pixel Space box |
| OutUpperRight | The Upper Right corner of the pixel space box |
GetPixelBoundingBox(const FSceneViewProjectionData &, const FBox &, FVector2D &, FVector2D &, const FVector2f *)
| Name | GetPixelBoundingBox |
| Type | function |
| Header File | /Engine/Source/Runtime/Engine/Classes/Engine/LocalPlayer.h |
| Include Path | #include "Engine/LocalPlayer.h" |
| Source | /Engine/Source/Runtime/Engine/Private/LocalPlayer.cpp |
static bool GetPixelBoundingBox
(
const FSceneViewProjectionData & ProjectionData,
const FBox & ActorBox,
FVector2D & OutLowerLeft,
FVector2D & OutUpperRight,
const FVector2f * OptionalAllotedSize
)