Navigation
API > API/Runtime > API/Runtime/CoreUObject
TPerPlatformProperty - template parent class for per-platform properties Implements Serialize function to replace value at cook time, and backwards-compatible loading code for properties converted from simple types.
| Name | TPerPlatformProperty |
| Type | struct |
| Header File | /Engine/Source/Runtime/CoreUObject/Public/UObject/PerPlatformProperties.h |
| Include Path | #include "UObject/PerPlatformProperties.h" |
Syntax
template<typename _StructType, typename _ValueType, EName _BasePropertyName>
struct TPerPlatformProperty
Derived Classes
TPerPlatformProperty derived class hierarchy
Typedefs
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| StructType | _StructType | UObject/PerPlatformProperties.h | |
| ValueType | _ValueType | UObject/PerPlatformProperties.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
_ValueType GetDefault() |
UObject/PerPlatformProperties.h | ||
_ValueType GetValue() |
UObject/PerPlatformProperties.h | ||
_ValueType GetValueForPlatform
(
FName PlatformName |
Get the value for the given platform (using standard "ini" name, so Windows, not Win64 or WindowsClient), which can be used to lookup the group | UObject/PerPlatformProperties.h | |
| Serialization | UObject/PerPlatformProperties.h | ||
bool Serialize
(
FStructuredArchive::FSlot Slot |
Serialization | UObject/PerPlatformProperties.h | |
bool SerializeFromMismatchedTag
(
const FPropertyTag& Tag, |
Load old properties that have been converted to FPerPlatformX | UObject/PerPlatformProperties.h |