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 void WorldPositionToViewportPositionOrthographic
(
const FVector2f & InViewportSize,
const FVector & InWorldPosition,
const FVector & InViewLocation,
const FRotator & InViewRotation,
float InOrthoWidth,
FVector2f & OutViewportPosition,
double & OutDistance
)
Remarks
Translates the position on the frustum plane parallel to the camera's near clip plane to the corresponding viewport position for orthographic views.