Navigation
API > API/Runtime > API/Runtime/Engine
Device Profile Selector module
| Name | IDeviceProfileSelectorModule |
| Type | class |
| Header File | /Engine/Source/Runtime/Engine/Public/IDeviceProfileSelectorModule.h |
| Include Path | #include "IDeviceProfileSelectorModule.h" |
Syntax
class IDeviceProfileSelectorModule : public IModuleInterface
Implements Interfaces
Derived Classes
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
IDeviceProfileSelectorModule() |
IDeviceProfileSelectorModule.h |
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual ~IDeviceProfileSelectorModule() |
Virtual destructor. | IDeviceProfileSelectorModule.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual bool CanExportDeviceParametersToJson() |
Can we export device parameters to Jsons | IDeviceProfileSelectorModule.h | |
virtual bool CanGetDeviceParametersFromJson() |
Can we get device parameters from Json | IDeviceProfileSelectorModule.h | |
virtual void ExportDeviceParametersToJson
(
FString& FolderLocation |
Save Device Jsons to the location provided | IDeviceProfileSelectorModule.h | |
virtual float GetConstrainedAspectRatio() |
Get the ConstrainedAspectRatio of the Device | IDeviceProfileSelectorModule.h | |
| Get the Device Parameters from the Json @Param JsonLocation Json location @Param OutDeviceParameters the device parameters read from Json | IDeviceProfileSelectorModule.h | ||
virtual const FString GetDeviceProfileName() |
Run the logic to choose an appropriate device profile for this session. | IDeviceProfileSelectorModule.h | |
const FString GetRuntimeDeviceProfileName() |
Run the logic to choose an appropriate device profile for this session | IDeviceProfileSelectorModule.h | |
virtual FVector4f GetSafeZones() |
Get the Safe Zones of the Device | IDeviceProfileSelectorModule.h | |
virtual bool GetSelectorPropertyValue
(
const FName& PropertyType, |
Find a custom profile selector property value. | IDeviceProfileSelectorModule.h | |
| Set or override the selector specific properties. | IDeviceProfileSelectorModule.h |