打包後執行想要恆定幀率及顯示幀率可在藍圖中執行:ip
修改分辨率的命令是:,但不能一開始就執行,可能會被配置文件裏的設置頂替(多是,再研究下)io
其中w是指窗口,要全屏可改爲f。打包
也能夠在代碼中修改分辨率,以下:配置
void AHxVipPlayerManager::SetFullScreenMode(bool bFull)
{
if (bFull)
{
UGameUserSettings::GetGameUserSettings()->SetFullscreenMode(EWindowMode::WindowedFullscreen);//或者EWindowMode::Fullscreen
}
else
{
UGameUserSettings::GetGameUserSettings()->SetFullscreenMode(EWindowMode::Windowed);im
FIntPoint ResPoint(2048, 1080);
UGameUserSettings::GetGameUserSettings()->SetScreenResolution(ResPoint);
}
UGameUserSettings::GetGameUserSettings()->ApplyResolutionSettings(true);
}配置文件