Navigation
API > API/Plugins > API/Plugins/MetaHumanCoreTechLib
Brief@ FMetaHumanConformer is a wrapper class around core tech lib that provides conformed mesh i.e. identity fitting.
| Name | FMetaHumanConformer |
| Type | class |
| Header File | /Engine/Plugins/MetaHuman/MetaHumanCoreTechLib/Source/MetaHumanCoreTechLib/Public/MetaHumanConformer.h |
| Include Path | #include "MetaHumanConformer.h" |
Syntax
class FMetaHumanConformer
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FMetaHumanConformer() |
MetaHumanConformer.h |
Structs
| Name | Remarks |
|---|---|
| Private |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| AccessMutex | FCriticalSection | MetaHumanConformer.h | ||
| Impl | TPimplPtr< Private > | MetaHumanConformer.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
| Apply the supplied delta DNA to the DNA, and then scale the output about the scaling pivot position, and return in the output buffer. | MetaHumanConformer.h | ||
| Scale the supplied input DNA about the scaling pivot position, and return in the output buffer. | MetaHumanConformer.h | ||
bool CalcTeethDepthDelta
(
float InDeltaDistanceFromCamera, |
Calculate the offset in RIG COORDINATE SPACE to move the teeth a distance InDeltaDistanceFromCamera away from the first (1st) camera. | MetaHumanConformer.h | |
bool CheckControlsConfig
(
const FString& InControlsConfigJson |
Check that the supplied json string for the controls config is valid. | MetaHumanConformer.h | |
| Fit identity given input data. | MetaHumanConformer.h | ||
| Fit expression using PCA rog given input data. | MetaHumanConformer.h | ||
| Fit identity given input data. | MetaHumanConformer.h | ||
bool FitTeeth
(
TArray< float >& OutVerticesTeeth, |
Update teeth model and position in the rig given input data. | MetaHumanConformer.h | |
bool GenerateBrowMeshLandmarks
(
const FString& InCameraName, |
Projects brow target landmarks to fitted mesh. Outputs brows projected to mesh as mesh landmarks. | MetaHumanConformer.h | |
bool Init
(
const FString& InTemplateDescriptionJson, |
Initialize face fitting. | MetaHumanConformer.h | |
| Refine the teeth placement provided as output from the autorigging service so that they are in a better starting position | MetaHumanConformer.h | ||
bool ResetInputData() |
Clears previous configuration. | MetaHumanConformer.h | |
bool SetCameras
(
const TArray< FCameraCalibration >& InCalibrations |
Set up the cameras for fitting. | MetaHumanConformer.h | |
bool SetDepthInputData
(
const TMap< FString, const FFrameTrackingContourData* >& InLandmarksDataPerCamera, |
Set the depth input data for one frame. Fails if scan data was set before. | MetaHumanConformer.h | |
bool SetModelRegularization
(
float InValue |
Set regularization for non-rigid fitting. | MetaHumanConformer.h | |
bool SetScanInputData
(
const TSortedMap< FString, const FFrameTrackingContourData* >& InLandmarks2DData, |
Set the scan input data. Fails if depthmap data was set before. | MetaHumanConformer.h | |
| Apply the supplied rigid transform to the input DNA, and and return in the output buffer. | MetaHumanConformer.h | ||
| Update teeth model and position in the rig given input data. | MetaHumanConformer.h | ||
bool UpdateTeethSource
(
const TArray< uint8 >& InDNA |
Update the teeth source for the conformer from the supplied DNA | MetaHumanConformer.h |
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static bool CalculatePcaModelFromDnaRig
(
const FString& InConfigurationFilename, |
Creates a PCA rig out of input DNA RigLogic rig. | MetaHumanConformer.h | |
static bool CalculatePcaModelFromDnaRig
(
const FString& InConfigurationJson, |
Creates a PCA rig out of input DNA RigLogic rig. | MetaHumanConformer.h | |
static bool CheckPcaModelFromDnaRigConfig
(
const FString& InConfigurationJson, |
Check that the supplied PCA from DNA rig config is valid. | MetaHumanConformer.h | |
| Converts a DNA asset into a byte array. | MetaHumanConformer.h |