📜  ue4 获取视口大小 c++ 代码示例

📅  最后修改于: 2022-03-11 14:44:45.961000             🧑  作者: Mango

代码示例1
FVector2D Result = FVector2D;
 
if (GEngine && GEngine->GameViewport)
{
    GEngine->GameViewport->GetViewportSize(Result);
}