Answers for "ue4 get size of viewport c++"

C++
0

ue4 get size of viewport c++

FVector2D Result = FVector2D;
 
if (GEngine && GEngine->GameViewport)
{
    GEngine->GameViewport->GetViewportSize(Result);
}
Posted by: Guest on October-26-2021

Browse Popular Code Answers by Language