Navigation
API > API/Plugins > API/Plugins/MetaHumanIdentity
Utility functions to generate data for promoted frame
| Name | UPromotedFrameUtils |
| Type | class |
| Header File | /Engine/Plugins/MetaHuman/MetaHumanAnimator/Source/MetaHumanIdentity/Public/PromotedFrameUtils.h |
| Include Path | #include "PromotedFrameUtils.h" |
Syntax
UCLASS (MinimalAPI)
class UPromotedFrameUtils : public UObject
Inheritance Hierarchy
- UObjectBase → UObjectBaseUtility → UObject → UPromotedFrameUtils
Functions
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static UTexture2D * GetBGRATextureFromFile
(
const FString& InFilePath |
Uses image wrapper to determine image format and returns BGRA texture | PromotedFrameUtils.h | |
static UTexture2D * GetDepthTextureFromFile
(
const FString& InFilePath |
Returns a depth texture, loaded from a file on disk specified in the path | PromotedFrameUtils.h | |
static FString GetImagePathForFrame
(
const UFootageCaptureData* InFootageCaptureData, |
A helper function to determine the full path to a frame, taking into account timecode alignment | PromotedFrameUtils.h |
|
static bool GetPromotedFrameAsPixelArrayFromDisk
(
const FString& InImagePath, |
Assigns loaded texture from specified path to TArray of BGRA colors. | PromotedFrameUtils.h |
|
static int32 IdentityFrameNumberToImageSequenceFrameNumber
(
const UFootageCaptureData* InFootageCaptureData, |
Converts a frame number used by identity into the corresponding frame number in the underlying image sequence. | PromotedFrameUtils.h | |
static bool InitializeContourDataForFootageFrame
(
UMetaHumanIdentityPose* InPose, |
Initialization function exposed for scripting - parses contour data config & updates footage frame | PromotedFrameUtils.h |
|