FUMGViewportClient::GetOrthoUnitsPerPixel

Choose your operating system:

Windows

macOS

Linux

References

Module

UMG

Header

/Engine/Source/Runtime/UMG/Public/Components/Viewport.h

Include

#include "Components/Viewport.h"

Source

/Engine/Source/Runtime/UMG/Private/Components/Viewport.cpp

Syntax

float GetOrthoUnitsPerPixel
(
    const FViewport * Viewport
) const

Returns

The number of units per pixel displayed in this viewport