Navigation
API > API/Developer > API/Developer/TargetPlatform > API/Developer/TargetPlatform/Common
Inheritance Hierarchy
- ITargetPlatformControls
- FTargetPlatformControlsBase
- TTargetPlatformControlsBase
- TNonDesktopTargetPlatformControlsBase
References
| Module | TargetPlatform |
| Header | /Engine/Source/Developer/TargetPlatform/Public/Common/TargetPlatformControlsBase.h |
| Include | #include "Common/TargetPlatformControlsBase.h" |
Syntax
class FTargetPlatformControlsBase : public ITargetPlatformControls
Variables
| Type | Name | Description | |
|---|---|---|---|
| const PlatformInfo::FTargetPlatformInfo * | PlatformInfo | Information about this platform | |
| int32 | PlatformOrdinal |
Constructors
| Type | Name | Description | |
|---|---|---|---|
FTargetPlatformControlsBase
(
const PlatformInfo::FTargetPlatformInfo*const InPlatformInfo, |
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | AddDependencySCArrayHelper
(
TArray< FString >& OutDependencies, |
Helper method to fill a dependencies array for the shader compiler with absolute paths, passing a relative path to the Engine as the parameter. | |
| void | AppendAnalyticsEventConfigArray
(
TArray< struct FAnalyticsEventAttribute >& AnalyticsParamArray, |
||
| void | AppendAnalyticsEventConfigBool
(
TArray< struct FAnalyticsEventAttribute >& AnalyticsParamArray, |
Analytics helper functions | |
| void | AppendAnalyticsEventConfigFloat
(
TArray< struct FAnalyticsEventAttribute >& AnalyticsParamArray, |
||
| void | AppendAnalyticsEventConfigInt
(
TArray< struct FAnalyticsEventAttribute >& AnalyticsParamArray, |
||
| void | AppendAnalyticsEventConfigString
(
TArray< struct FAnalyticsEventAttribute >& AnalyticsParamArray, |
||
| const Audio::FAudioFormatSettings & |
Overridden from ITargetPlatformControls
| 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. | ||
| 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. | |
| bool | CopyFileToTarget
(
const FString& DeviceId, |
Copy a file to the target | |
| FText | DisplayName () |
Gets the platform's display name. | |
| 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 | ||
| void | GetExtraPackagesToCook
(
TArray< FName >& PackageNames |
Gets a list of package names to cook when cooking this platform | |
| 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 | |
| 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 | ||
| float | Gets the variant priority of this platform | ||
| 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 | IsEnabledForPlugin
(
const IPlugin& Plugin |
Checks whether this platform is enabled for the given plugin in the currently active project. | |
| 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 | PackageBuild
(
const FString& InPackgeDirectory |
Package a build for the given platform | |
| bool | RequiresTempTarget
(
bool bProjectHasCode, |
Checks whether the current project needs a temporary .target.cs file to be packaged as a code project. | |
| 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 is part of a family of variants |