Navigation
API > API/Plugins > API/Plugins/MetaHumanSDKEditor
Representation of a MetaHuman Version. This is a simple semantic-versioning style version number that is stored in a Json file at a specific location in the directory structure that MetaHumans use.
| Name | FMetaHumanVersion |
| Type | struct |
| Header File | /Engine/Plugins/MetaHuman/MetaHumanSDK/Source/MetaHumanSDKEditor/Public/MetaHumanTypesEditor.h |
| Include Path | #include "MetaHumanTypesEditor.h" |
Syntax
struct FMetaHumanVersion
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
| Currently default initialisation == 0.0.0 which is not a valid version. | MetaHumanTypesEditor.h | ||
FMetaHumanVersion
(
const FString& VersionString |
Construction. | MetaHumanTypesEditor.h | |
FMetaHumanVersion
(
const int InMajor, |
MetaHumanTypesEditor.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| Major | int32 | MetaHumanTypesEditor.h | ||
| Minor | int32 | MetaHumanTypesEditor.h | ||
| Revision | int32 | MetaHumanTypesEditor.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FString AsString() |
Converts the Version to a string. | MetaHumanTypesEditor.h | |
bool IsCompatible
(
const FMetaHumanVersion& Other |
Check for asset compatibility (major version matches) between two MetaHumans | MetaHumanTypesEditor.h |
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static FMetaHumanVersion ReadFromArchive
(
const FString& VersionFilePath, |
Reads the MetaHuman Version from the file that comes with a MetaHuman that is packaged in a MetaHuman archive | MetaHumanTypesEditor.h | |
static FMetaHumanVersion ReadFromFile
(
const FString& VersionFilePath |
Reads the MetaHuman Version from the file that comes with an exported MetaHuman | MetaHumanTypesEditor.h |