UDocumentation
UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
DPICustomScalingRule.h
Go to the documentation of this file.
1
// Copyright Epic Games, Inc. All Rights Reserved.
2
3
#pragma once
4
5
#include "
CoreMinimal.h
"
6
#include "
UObject/ObjectMacros.h
"
7
#include "
UObject/Object.h
"
8
#include "DPICustomScalingRule.generated.h"
9
14
UCLASS
(Abstract, MinimalAPI)
15
class
UDPICustomScalingRule
:
public
UObject
16
{
17
GENERATED_BODY
()
18
19
public
:
20
26
ENGINE_API
virtual
float
GetDPIScaleBasedOnSize(
FIntPoint
Size
)
const
;
27
};
CoreMinimal.h
StaticCastSharedRef
UE_FORCEINLINE_HINT TSharedRef< CastToType, Mode > StaticCastSharedRef(TSharedRef< CastFromType, Mode > const &InSharedRef)
Definition
SharedPointer.h:127
ObjectMacros.h
GENERATED_BODY
#define GENERATED_BODY(...)
Definition
ObjectMacros.h:765
UCLASS
#define UCLASS(...)
Definition
ObjectMacros.h:776
Object.h
Size
uint32 Size
Definition
VulkanMemory.cpp:4034
UDPICustomScalingRule
Definition
DPICustomScalingRule.h:16
UObject
Definition
Object.h:95
UE::Math::TIntPoint
Definition
IntPoint.h:25
Engine
Source
Runtime
Engine
Classes
Engine
DPICustomScalingRule.h
Generated by
1.9.8