Navigation
API > API/Plugins > API/Plugins/GameplayCameras > API/Plugins/GameplayCameras/FCameraPoseMath
Description
Projects the given point onto screen-space. The caller is responsible for making sure the view-projection matrix and coordinate system for the given point are compatible.
| Name | ProjectToScreen |
| Type | function |
| Header File | /Engine/Plugins/Cameras/GameplayCameras/Source/GameplayCameras/Public/Math/CameraPoseMath.h |
| Include Path | #include "Math/CameraPoseMath.h" |
| Source | /Engine/Plugins/Cameras/GameplayCameras/Source/GameplayCameras/Private/Math/CameraPoseMath.cpp |
static TOptional < FVector2d > ProjectToScreen
(
const FMatrix & ViewProjectionMatrix,
const FVector3d & Location,
bool bForceLocationInsideFrustum
)