Navigation
Unreal Engine C++ API Reference > Developer > TargetPlatform > Interfaces
Inheritance Hierarchy
- ITargetPlatformControls
- FTargetPlatformControlsBase
- TTargetPlatformControlsBase
- TNonDesktopTargetPlatformControlsBase
- ITargetPlatform
- FTargetPlatformMerged
References
Module | TargetPlatform |
Header | /Engine/Source/Developer/TargetPlatform/Public/Interfaces/ITargetPlatformControls.h |
Include | #include "Interfaces/ITargetPlatformControls.h" |
Syntax
class ITargetPlatformControls
Variables
Type | Name | Description | |
---|---|---|---|
![]() |
ITargetPlatformSettings * | TargetPlatformSettings |
Constructors
Type | Name | Description | |
---|---|---|---|
![]() |
ITargetPlatformControls
(
ITargetPlatformSettings* InTargetPlatformSettings |
Destructors
Type | Name | Description | |
---|---|---|---|
![]() ![]() |
Virtual destructor. |
Functions
Type | Name | Description | |
---|---|---|---|
![]() |
bool | AddDevice
(
const FString& DeviceName, |
Add a target device by name. |
![]() |
bool | AddDevice
(
const FString& DeviceId, |
Add a target device. |
![]() ![]() |
bool | Checks whether this platform will allow development objects to be cooked. | |
![]() ![]() |
bool | Checks whether this platform will allow editor objects to be cooked, as opposed to editoronly properties. | |
![]() ![]() |
int32 | AssignPlatformOrdinal
(
const ITargetPlatformControls& Platform |
|
![]() ![]() |
bool | Checks whether this platform supports shader compilation over XGE interface. | |
![]() ![]() |
int32 | CheckRequirements
(
bool bProjectHasCode, |
Checks whether the platform's build requirements are met so that we can do things like package for the platform. |
![]() ![]() |
FString | Gets the name of the device profile to use when cooking this TargetPlatform | |
![]() |
bool | CopyFileToTarget
(
const FString& DeviceId, |
Copy a file to the target |
![]() ![]() |
FText | DisplayName () |
Gets the platform's display name. |
![]() |
void | EnableDeviceCheck
(
bool OnOff |
Enables/Disable the device check |
![]() ![]() |
bool | GenerateStreamingInstallManifest
(
const TMultiMap< FString, int32 >& PakchunkMap, |
Generates a platform specific asset manifest given an array of FAssetData. |
![]() ![]() |
void | GetAllDevices
(
TArray< ITargetDevicePtr >& OutDevices |
Returns all discoverable physical devices. |
![]() ![]() |
void | GetBuildProjectSettingKeys
(
FString& OutSection, |
Project settings to check to determine if a build should occur |
![]() ![]() |
TSharedPtr< IDeviceManagerCustomPlatformWidgetCreator > | Returns custom DeviceManager widget creator for this platform | |
![]() ![]() |
ITargetDevicePtr | Gets the default device.Note that not all platforms may have a notion of default devices. | |
![]() |
ITargetDevicePtr | GetDevice
(
const FTargetDeviceId& DeviceId |
Gets an interface to the specified device. |
![]() ![]() |
void | GetExtraPackagesToCook
(
TArray< FName >& PackageNames |
Gets a list of package names to cook when cooking this platform |
![]() ![]() |
int64 | Gets the alignment of memory mapping for this platform, typically the page size. | |
![]() ![]() |
const ITargetPlatformControls * | GetPlatformFromOrdinal
(
int32 Ordinal |
Given a platform ordinal number, returns the corresponding ITargetPlatform instance |
![]() ![]() |
const FDataDrivenPlatformInfo & | Returns the information about the platform as a whole | |
![]() ![]() |
int32 | Get unique integer identifier for this platform. | |
![]() ![]() |
void | GetPlatformSpecificProjectAnalytics
(
TArray< struct FAnalyticsEventAttribute >& AnalyticsParamArray |
Gather per-project cook/package analytics |
![]() ![]() |
EBuildTargetType | Return the TargetType this platform uses at runtime. | |
![]() ![]() |
void | GetShaderCompilerDependencies
(
TArray< FString >& OutDependencies |
Provide platform specific file dependency patterns for SN-DBS shader compilation. |
![]() ![]() |
const PlatformInfo::FTargetPlatformInfo & | Returns the information about this target platform | |
![]() ![]() |
ITargetPlatformSettings * | ||
![]() ![]() |
float | Gets the variant priority of this platform | |
![]() ![]() |
FName | Gets a new compression format to use in place of Zlib. This should be rarely implemented | |
![]() ![]() |
bool | Checks whether this platform has only editor data (typically desktop platforms). | |
![]() ![]() |
bool | Checks whether this platform has a secure shippable package format, and therefore doesn't need any encryption or signing support | |
![]() |
void | Hook called when a TargetPlatform is selected for cooking. | |
![]() |
bool | Initializes the host platform to support target devices (may be called multiple times after an SDK is installed while running) | |
![]() ![]() |
bool | IsClientOnly () |
Checks whether this platform is only a client (and must connect to a server to run). |
![]() ![]() |
bool | IsEnabledForPlugin
(
const IPlugin& Plugin |
Checks whether this platform is enabled for the given plugin in the currently active project. |
![]() ![]() |
bool | Checks whether this platform is little endian. | |
![]() ![]() |
bool | Checks whether this platform is the platform that's currently running. | |
![]() ![]() |
bool | IsSdkInstalled
(
bool bProjectHasCode, |
Checks whether the platform's SDK requirements are met so that we can do things like package for the platform |
![]() ![]() |
bool | IsServerOnly () |
Checks whether this platform is only a server. |
![]() ![]() |
FOnTargetDeviceDiscovered & | ||
![]() ![]() |
FOnTargetDeviceLost & | OnDeviceLost () |
|
![]() |
bool | PackageBuild
(
const FString& InPackgeDirectory |
Package a build for the given platform |
![]() ![]() |
FString | PlatformName () |
Returns the name of this platform |
![]() ![]() |
bool | Checks whether this platform requires cooked data (typically console platforms). | |
![]() ![]() |
bool | Checks whether this platform requires the originally released version (in addition to the previously released version) to create a patch | |
![]() ![]() |
bool | RequiresTempTarget
(
bool bProjectHasCode, |
Checks whether the current project needs a temporary .target.cs file to be packaged as a code project. |
![]() ![]() |
EPlatformAuthentication | Checks whether this platform requires user credentials (typically server platforms). | |
![]() ![]() |
bool | Whether or not to send all lower-case filepaths when connecting over a fileserver connection. | |
![]() ![]() |
bool | ShouldExpandTo32Bit
(
const uint16* Indices, |
Returns wheter or not this 16bit index buffer should be promoted to 32bit |
![]() ![]() |
bool | Returns true if the platform supports the AutoSDK system | |
![]() ![]() |
bool | SupportsBuildTarget
(
EBuildTargetType TargetType |
Checks whether this platform supports the specified build target, i.e. Game or Editor. |
![]() ![]() |
bool | Returns true if the platform is part of a family of variants |
Classes
Type | Name | Description | |
---|---|---|---|
![]() |
FOnTargetDeviceDiscovered | Gets an event delegate that is executed when a new target device has been discovered. | |
![]() |
FOnTargetDeviceLost | Gets an event delegate that is executed when a target device has been lost, i.e. disconnected or timed out. |