Navigation
API > API/Plugins > API/Plugins/MetaHumanCoreTechLib > API/Plugins/MetaHumanCoreTechLib/FMetaHumanEvaluateRig
Description
Evaluate the supplied map of raw controls, and return the evaluated mesh vertices for the specified mesh indices. Rig must have been set using SetRigDNA.
| Name | EvaluateRawControls |
| Type | function |
| Header File | /Engine/Plugins/MetaHuman/MetaHumanCoreTechLib/Source/MetaHumanCoreTechLib/Public/MetaHumanEvaluateRig.h |
| Include Path | #include "MetaHumanEvaluateRig.h" |
| Source | /Engine/Plugins/MetaHuman/MetaHumanCoreTechLib/Source/MetaHumanCoreTechLib/Private/MetaHumanEvaluateRig.cpp |
bool EvaluateRawControls
(
const TMap < FString , float > & InControls,
const TArray < int > & InMeshIndices,
int32 InLod,
TArray < TArray < FVector > > & OutMeshVertices
) const
true if evaluated successfully, false otherwise
Parameters
| Name | Remarks |
|---|---|
| InControls | a map of raw control name to control value. Additional controls will be ignored; missing controls will be set to 0. Control names should use the control names used in MH Animation sequences ie CTRL_expressions_ rather than CTRL_expressions. |
| InMeshIndices | an array of mesh indices for which we want to evaluate the vertices. Mesh Indices must be in the range 0-GetNumMeshes()-1 |
| InLod | the lod to evaluate the vertices for, which must be >=0 and < GetNumLods() |
| OutMeshVertices | an array of array of vector. Each array contains the evaluated vertices for the specified mesh index. |