| UObjectBase
|
Module |
|
Header |
/Engine/Source/Runtime/Engine/Classes/Engine/DPICustomScalingRule.h |
Include |
#include "Engine/DPICustomScalingRule.h" |
class UDPICustomScalingRule : public UObject
Custom Scaling Rules for Slate and UMG Widgets can be implemented by sub-classing from this class and setting this rule to be used in your project settings.
Name | Description | ||
---|---|---|---|
|
float |
GetDPIScaleBasedOnSize ( |
Return the scale to use given the size of the viewport. |