Navigation
API > API/Plugins > API/Plugins/MetaHumanIdentity > API/Plugins/MetaHumanIdentity/UPromotedFrameUtils
Description
Assigns loaded texture from specified path to TArray of BGRA colors. Returns true if successfully read and assigned data
| Name | GetPromotedFrameAsPixelArrayFromDisk |
| Type | function |
| Header File | /Engine/Plugins/MetaHuman/MetaHumanAnimator/Source/MetaHumanIdentity/Public/PromotedFrameUtils.h |
| Include Path | #include "PromotedFrameUtils.h" |
| Source | /Engine/Plugins/MetaHuman/MetaHumanAnimator/Source/MetaHumanIdentity/Private/PromotedFrameUtils.cpp |
UFUNCTION (BlueprintCallable, Category="MetaHuman|Texture Retrieval")
static bool GetPromotedFrameAsPixelArrayFromDisk
(
const FString & InImagePath,
FIntPoint & OutImageSize,
TArray < FColor > & OutLocalSamples
)