RealDocs

UKismetSystemLibrary::GetMinYResolutionFor3DView

function Engine Blueprint Since 4.0
#include "Kismet/KismetSystemLibrary.h"
Access: public Specifiers: staticUFUNCTIONBlueprintPure

Description

Returns the smallest vertical (Y) resolution, in pixels, that the project wants to support for the 3D viewport.

Caveats & Gotchas

  • Cannot be used in construction scripts — flagged UnsafeDuringActorConstruction.
  • This is a design-intent floor read from scalability settings, not a hardware capability query — it doesn't reflect the current actual resolution.
  • Distinct from GetMinYResolutionForUI, which returns a separate (usually higher) floor for UI rendering.

Signature

static int32 GetMinYResolutionFor3DView()

Return Type

int32

Example

Check current resolution against the 3D view floor C++
const int32 MinY = UKismetSystemLibrary::GetMinYResolutionFor3DView();
if (ViewportSize.Y < MinY)
{
	UE_LOG(LogTemp, Warning, TEXT("Viewport height %d is below the minimum 3D view resolution %d"), ViewportSize.Y, MinY);
}

Version History

Introduced in: 4.0

Version Status Notes
5.6 stable

Feedback

Was this helpful?

Suggest an edit

Select a field above to begin editing.