Navigation
API > API/Plugins > API/Plugins/AvalancheViewport > API/Plugins/AvalancheViewport/FAvaViewportUtils
References
| Module | AvalancheViewport |
| Header | /Engine/Plugins/Experimental/Avalanche/Source/AvalancheViewport/Public/AvaViewportUtils.h |
| Include | #include "AvaViewportUtils.h" |
| Source | /Engine/Plugins/Experimental/Avalanche/Source/AvalancheViewport/Private/AvaViewportUtils.cpp |
static FVector ViewportPositionToWorldPositionPerspective
(
const FVector2f & InViewportSize,
const FVector2f & InViewportPosition,
const FVector & InViewLocation,
const FRotator & InViewRotation,
float InHorizontalFoVDegrees,
double InDistance
)
Remarks
Translates the viewport position to the corresponding position on the frustum plane parallel to the camera's near clip plane at the given distance for perspective views.