Choose your operating system:
Windows
macOS
Linux
Module |
|
Header |
/Engine/Plugins/Experimental/MLDeformer/Source/MLDeformer/Public/MLDeformerInputInfo.h |
Include |
#include "MLDeformerInputInfo.h" |
USTRUCT()
struct FMLDeformerInputInfo
The neural network input information. This contains arrays of names for things such as bones and morph targets. Knowing what bones etc are used as inputs, and in what order, helps us feeding the data during inference. It can also help us detect issues, for example when the character we apply the deformer to is missing any of those bones.
Name | Description | ||
---|---|---|---|
|
CalcNumNeuralNetInputs() |
Calculate how many inputs this input info generates for the neural network. |
|
|
ExtractBoneRotations ( |
Extract bone space rotations, as a float array. |
|
|
ExtractCurveValues ( |
Extract the curve values for all curves we're interested in. |
|
|
GenerateCompatibilityErrorString ( |
Get the compatibility error report. |
|
|
const FName |
GetBoneName ( |
Get the bone name as an FName, for a given bone we included during training. |
|
const FStrin... |
GetBoneNameString ( |
Get the bone name as a string, for a given bone we included during training. |
|
const FName |
GetCurveName ( |
Get the curve name as an FName, for a given curve we included during training. |
|
const FStrin... |
GetCurveNameString ( |
Get the curve name as a string, for a given bone we included during training. |
|
GetNumBaseMeshVertices() |
Get the number of imported vertices in the base mesh. |
|
|
GetNumBones() |
Get the number of bones that we trained on. |
|
|
GetNumCurves() |
Get the number of curves that we trained on. |
|
|
GetNumTargetMeshVertices() |
Get the number of imported vertices in the target mesh. |
|
|
Init ( |
Initialize the inputs based on a skeletal mesh. |
|
|
IsCompatible ( |
Check whether the current inputs are compatible with a given skeletal mesh. |
|
|
IsEmpty() |
Check whether we have any training inputs or not. |
|
|
UpdateFNames() |
Update the FName arrays based on the name string arrays. |