TPerPlatformProperty

[TPerPlatformProperty](API\Runtime\Engine\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.

Windows
MacOS
Linux

Inheritance Hierarchy

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

Name Description

Public function Const

_ValueType

 

GetValueForFeatureLevel

(
    ERHIFeatureLevel::Type FeatureLevel
)

Public function Const

_ValueType

 

GetValueForPlatformIdentifiers

(
    FName PlatformGroupName,
    FName VanillaPlatformName
)

Return the value

Public function

bool

 

Serialize

(
    FArchive& Ar
)

Serialization

Public function

bool

 

Serialize

(
    FStructuredArchive::FSlot Slot
)

Serialization

Public function

bool

 

SerializeFromMismatchedTag

(
    const FPropertyTag& Tag,
    FArchive& Ar
)

Load old properties that have been converted to FPerPlatformX

Typedefs

Name

Description

ValueType

Deprecated Functions

Name Description

Public function Const

_ValueType

 

GetValueForPlatformGroup

(
    FName PlatformGroupName
)

GetValueForPlatformGroup renamed GetValueForPlatformIdentifiers

References

Module

Engine

Header

Runtime/Engine/Public/PerPlatformProperties.h

Welcome to the new Unreal Engine 4 Documentation site!

We're working on lots of new features including a feedback system so you can tell us how we are doing. It's not quite ready for use in the wild yet, so head over to the Documentation Feedback forum to tell us about this page or call out any issues you are encountering in the meantime.

We'll be sure to let you know when the new system is up and running.

Post Feedback