Navigation
Unreal Engine C++ API Reference > Runtime > Engine
Inheritance Hierarchy
- TPerPlatformProperty
- FFreezablePerPlatformFloat
- FFreezablePerPlatformInt
- FPerPlatformBool
- FPerPlatformFloat
- FPerPlatformFrameRate
- FPerPlatformInt
References
Module | Engine |
Header | /Engine/Source/Runtime/Engine/Public/PerPlatformProperties.h |
Include | #include "PerPlatformProperties.h" |
Syntax
template<typename _StructType, typename _ValueType, EName _BasePropertyName>
struct TPerPlatformProperty
Remarks
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.
Functions
Type | Name | Description | |
---|---|---|---|
![]() ![]() |
_ValueType | GetDefault () |
|
![]() ![]() |
_ValueType | GetValue () |
|
![]() ![]() |
_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 |
![]() |
bool | Serialization | |
![]() |
bool | Serialize
(
FStructuredArchive::FSlot Slot |
Serialization |
![]() |
bool | SerializeFromMismatchedTag
(
const FPropertyTag& Tag, |
Load old properties that have been converted to FPerPlatformX |
Typedefs
Name | Description |
---|---|
StructType | |
ValueType |