Navigation
API > API/Plugins > API/Plugins/MetaHumanCoreTechLib > API/Plugins/MetaHumanCoreTechLib/FMetaHumanCharacterBodyIdentity
| Name | FState |
| Type | class |
| Header File | /Engine/Plugins/MetaHuman/MetaHumanCoreTechLib/Source/MetaHumanCoreTechLib/Public/MetaHumanCharacterBodyIdentity.h |
| Include Path | #include "MetaHumanCharacterBodyIdentity.h" |
Syntax
class FState
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
| MetaHumanCharacterBodyIdentity.h | |||
FState () |
MetaHumanCharacterBodyIdentity.h |
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
~FState() |
MetaHumanCharacterBodyIdentity.h |
Structs
| Name | Remarks |
|---|---|
| FImpl |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| Impl | TPimplPtr< FImpl > | MetaHumanCharacterBodyIdentity.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void BlendPresets
(
int32 InGizmoIndex, |
Blend region based on preset weights | MetaHumanCharacterBodyIdentity.h | |
TArray< FMatrix44f > CopyBindPose() |
Copy the bind pose transforms | MetaHumanCharacterBodyIdentity.h | |
void CopyCombinedModelVertexInfluenceWeights
(
TArray< TPair< int32, TArray< FFloatTriplet > > >& OutCombinedModelVertexInfluenceWeights |
Copy the combined body model skinning weights as an array of triplets which can be used to reconstruct a sparse matrix of skinning weights | MetaHumanCharacterBodyIdentity.h | |
bool Deserialize
(
const FSharedBuffer& InArchive |
MetaHumanCharacterBodyIdentity.h | ||
void EvaluateBodyConstraints
(
const TArray< FMetaHumanCharacterBodyConstraint >& BodyConstraints |
Set the body constraints and evaluate the DNA vertices based on the state | MetaHumanCharacterBodyIdentity.h | |
bool FitToBodyDna
(
TSharedRef< class IDNAReader > InBodyDna, |
Fit the Character to the supplied DNA | MetaHumanCharacterBodyIdentity.h | |
bool FitToTarget
(
const TArray< FVector3f >& InVertices, |
Fit the Character to the supplied vertices | MetaHumanCharacterBodyIdentity.h | |
TArray< FMetaHumanCharacterBodyConstraint > GetBodyConstraints() |
Get the body constraints from the model | MetaHumanCharacterBodyIdentity.h | |
TArray< FVector > GetContourVertices
(
int32 ConstraintIndex |
Get the contour vertex positions on the mesh for a particular constraint | MetaHumanCharacterBodyIdentity.h | |
float GetGlobalDeltaScale() |
Get and set the body vertex and joint global delta scale | MetaHumanCharacterBodyIdentity.h | |
float GetMeasurement
(
int32 ConstraintIndex |
Get the actual measurement on the mesh for a particular constraint | MetaHumanCharacterBodyIdentity.h | |
void GetMeasurementsForFaceAndBody
(
TSharedRef< IDNAReader > InFaceDNA, |
Obtains measurements map (string to float) for given face and body DNAs | MetaHumanCharacterBodyIdentity.h | |
EMetaHumanBodyType GetMetaHumanBodyType() |
Get MetaHuman body type | MetaHumanCharacterBodyIdentity.h | |
void GetNeutralJointTransform
(
int32 JointIndex, |
MetaHumanCharacterBodyIdentity.h | ||
int32 GetNumberOfConstraints() |
Get the number of constraints from the model | MetaHumanCharacterBodyIdentity.h | |
int32 GetNumberOfJoints() |
MetaHumanCharacterBodyIdentity.h | ||
TArray< int32 > GetNumVerticesPerLOD() |
Get the number of vertices per LOD | MetaHumanCharacterBodyIdentity.h | |
TArray< PhysicsBodyVolume > GetPhysicsBodyVolumes
(
const FName& InJointName |
Get the list of physics volumes for a joint | MetaHumanCharacterBodyIdentity.h | |
TArray< FVector3f > GetRegionGizmos() |
Get gizmo positions used for blending regions | MetaHumanCharacterBodyIdentity.h | |
FVector3f GetVertex
(
const TArray< FVector3f >& InVertices, |
Get vertex in UE coordinate system for a specific dna mesh and dna vertex index | MetaHumanCharacterBodyIdentity.h | |
FMetaHumanRigEvaluatedState GetVerticesAndVertexNormals() |
Get the DNA vertices and vertex normals from the state | MetaHumanCharacterBodyIdentity.h | |
void Reset() |
Reset the body to the archetype | MetaHumanCharacterBodyIdentity.h | |
bool Serialize
(
FSharedBuffer& OutArchive |
Serialize/Deserialize | MetaHumanCharacterBodyIdentity.h | |
void SetGlobalDeltaScale
(
float InVertexDelta |
MetaHumanCharacterBodyIdentity.h | ||
void SetMetaHumanBodyType
(
EMetaHumanBodyType InMetaHumanBodyType, |
Set MetaHuman body type | MetaHumanCharacterBodyIdentity.h | |
TSharedRef< IDNAReader > StateToDna
(
dna::Reader* InDnaReader |
Create updated dna from state | MetaHumanCharacterBodyIdentity.h | |
TSharedRef< IDNAReader > StateToDna
(
UDNAAsset* InBodyDna |
MetaHumanCharacterBodyIdentity.h |