Navigation
API > API/Plugins > API/Plugins/AvalancheViewport > API/Plugins/AvalancheViewport/FAvaScreenAlignmentUtils
References
| Module | AvalancheViewport |
| Header | /Engine/Plugins/Experimental/Avalanche/Source/AvalancheViewport/Public/AvaScreenAlignmentUtils.h |
| Include | #include "AvaScreenAlignmentUtils.h" |
| Source | /Engine/Plugins/Experimental/Avalanche/Source/AvalancheViewport/Private/AvaScreenAlignmentUtils.cpp |
static void FitActorToScreen
(
const TSharedRef < IAvaViewportWorldCoordinateConverter > & InCoordinateConverter,
AActor & InActor,
bool bInStretchToFit,
bool bInAlignToNearestAxis
)
Remarks
Resizes the actor to teh same size as the screen at its current depth and moves it to the center.