API reference
API reference
Select your platform
No SDKs available
No versions available

FOvrLanguagePackInfo Struct

It contains information about a specific language, including its identification tag, and names in both English and the native language. It is useful for applications supporting multiple languages. It can be retrieved using field FOvrAssetDetails::Language. Learn more about language pack in our website

Constructors

FOvrLanguagePackInfo ()
This is the default constructor for the struct, which initializes the ::ovrLanguagePackInfoHandle and TOvrMessageHandlePtr to their default values.
Signature
FOvrLanguagePackInfo::FOvrLanguagePackInfo()
FOvrLanguagePackInfo ( OvrHandle , MessageHandlePtr )
Copying values from an OVR handle to the array, and the originating message to prevent the handle from being freed.
Signature
FOvrLanguagePackInfo::FOvrLanguagePackInfo(ovrLanguagePackInfoHandle OvrHandle, TOvrMessageHandlePtr MessageHandlePtr)
Parameters
OvrHandle: ovrLanguagePackInfoHandle
MessageHandlePtr: TOvrMessageHandlePtr

Fields

EnglishName : FString
Language name in English language. For example, the English name for "de.lang" will be "German".
Signature
FString FOvrLanguagePackInfo::EnglishName
NativeName : FString
Language name in its native language. For example, the native name for "de.lang" will be "Deutsch".
Signature
FString FOvrLanguagePackInfo::NativeName
Tag : FString
Language tag in BCP47 format with a suffix of "lang". For example, "de.lang" is a valid language pack name and its tag will be "de".
Signature
FString FOvrLanguagePackInfo::Tag

Member Functions

Clear ()
Setting all values to their defaults, effectively clearing the struct.
Signature
void FOvrLanguagePackInfo::Clear()
Returns
void
Update ( OvrHandle , MessageHandlePtr )
Updating values from an OVR handle to the array, and the originating message to prevent the handle from being freed.
Signature
void FOvrLanguagePackInfo::Update(ovrLanguagePackInfoHandle OvrHandle, TOvrMessageHandlePtr MessageHandlePtr)
Parameters
OvrHandle: ovrLanguagePackInfoHandle
MessageHandlePtr: TOvrMessageHandlePtr
Returns
void