Navigation
API > API/Plugins > API/Plugins/MLDeformerFrameworkEditor > API/Plugins/MLDeformerFrameworkEditor/FMLDeformerMorphModelEditorModel
Overloads
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void CalcMorphTargetNormals
(
int32 LOD, |
Calculate the normals for a given morph target. | MLDeformerMorphModelEditorModel.h | |
virtual void CalcMorphTargetNormals
(
int32 LOD, |
MLDeformerMorphModelEditorModel.h | ||
virtual void CalcMorphTargetNormals
(
int32 LOD, |
Calculate the delta normals for a given morph target. | MLDeformerMorphModelEditorModel.h |
CalcMorphTargetNormals(int32, USkeletalMesh *, int32, TArrayView< const FVector3f >, TArrayView< const FVector3f >, TArrayView< FVector3f >, TArray< FVector3f > &)
Description
Calculate the normals for a given morph target. This method is deprecated, please use the one that takes more parameters instead.
| Name | CalcMorphTargetNormals |
| Type | function |
| Header File | /Engine/Plugins/Animation/MLDeformer/MLDeformerFramework/Source/MLDeformerFrameworkEditor/Public/MLDeformerMorphModelEditorModel.h |
| Include Path | #include "MLDeformerMorphModelEditorModel.h" |
| Source | /Engine/Plugins/Animation/MLDeformer/MLDeformerFramework/Source/MLDeformerFrameworkEditor/Private/MLDeformerMorphModelEditorModel.cpp |
virtual void CalcMorphTargetNormals
(
int32 LOD,
USkeletalMesh * SkelMesh,
int32 MorphTargetIndex,
TArrayView < const FVector3f > Deltas,
TArrayView < const FVector3f > BaseVertexPositions,
TArrayView < FVector3f > BaseNormals,
TArray < FVector3f > & OutDeltaNormals
)
Parameters
| Name | Remarks |
|---|---|
| LOD | The LOD level. |
| SkelMesh | The skeletal mesh to get the mesh data from. |
| Deltas | The per vertex deltas. The number of elements in this array is NumMorphTargets * NumImportedVertices. |
| BaseVertexPositions | The positions of the base/neutral mesh, basically the unskinned vertices. |
| BaseNormals | The normals of the base mesh. |
| OutDeltaNormals | The array that we will write the generated normals to. This will automatically be resized by this method. |
CalcMorphTargetNormals(int32, const USkeletalMesh *, int32, const TArrayView< const FVector3f >, const TArrayView< const FVector3f >, const TArrayView< const FVector3f >, const TArrayView< const int32 >, const FColorVertexBuffer &, EMLDeformerMaskChannel, bool, TArray< FVector3f > &)
| Name | CalcMorphTargetNormals |
| Type | function |
| Header File | /Engine/Plugins/Animation/MLDeformer/MLDeformerFramework/Source/MLDeformerFrameworkEditor/Public/MLDeformerMorphModelEditorModel.h |
| Include Path | #include "MLDeformerMorphModelEditorModel.h" |
| Source | /Engine/Plugins/Animation/MLDeformer/MLDeformerFramework/Source/MLDeformerFrameworkEditor/Private/MLDeformerMorphModelEditorModel.cpp |
virtual void CalcMorphTargetNormals
(
int32 LOD,
const USkeletalMesh * SkelMesh,
int32 MorphTargetIndex,
const TArrayView < const FVector3f > Deltas,
const TArrayView < const FVector3f > BaseVertexPositions,
const TArrayView < const FVector3f > BaseNormals,
const TArrayView < const int32 > ImportedVertexToRenderVertexMapping,
const FColorVertexBuffer & ColorBuffer,
EMLDeformerMaskChannel MaskChannel,
bool bInvertGlobalMaskChannel,
TArray < FVector3f > & OutDeltaNormals
)
CalcMorphTargetNormals(int32, const USkeletalMesh *, int32, const TArrayView< const FVector3f >, const TArrayView< const FVector3f >, const TArrayView< const FVector3f >, const TArrayView< const int32 >, const FColorVertexBuffer &, EMLDeformerMaskChannel, bool, const TArray< float > &, TArray< FVector3f > &)
Description
Calculate the delta normals for a given morph target.
| Name | CalcMorphTargetNormals |
| Type | function |
| Header File | /Engine/Plugins/Animation/MLDeformer/MLDeformerFramework/Source/MLDeformerFrameworkEditor/Public/MLDeformerMorphModelEditorModel.h |
| Include Path | #include "MLDeformerMorphModelEditorModel.h" |
| Source | /Engine/Plugins/Animation/MLDeformer/MLDeformerFramework/Source/MLDeformerFrameworkEditor/Private/MLDeformerMorphModelEditorModel.cpp |
virtual void CalcMorphTargetNormals
(
int32 LOD,
const USkeletalMesh * SkelMesh,
int32 MorphTargetIndex,
const TArrayView < const FVector3f > Deltas,
const TArrayView < const FVector3f > BaseVertexPositions,
const TArrayView < const FVector3f > BaseNormals,
const TArrayView < const int32 > ImportedVertexToRenderVertexMapping,
const FColorVertexBuffer & ColorBuffer,
EMLDeformerMaskChannel MaskChannel,
bool bInvertGlobalMaskChannel,
const TArray < float > & GlobalMaskWeights,
TArray < FVector3f > & OutDeltaNormals
)
Parameters
| Name | Remarks |
|---|---|
| LOD | The LOD level. |
| SkelMesh | The skeletal mesh to get the mesh data from. |
| MorphTargetIndex | The morph target to calculate the normals for. |
| Deltas | The per vertex deltas. The number of elements in this array is NumMorphTargets * NumImportedVertices. |
| BaseVertexPositions | The positions of the base/neutral mesh, basically the unskinned vertices. |
| BaseNormals | The normals of the neutral base mesh. |
| ImportedVertexToRenderVertexMapping | The array of size 'NumImportedVerts' (NumBaseMeshVerts) that maps to a render vertex. |
| ColorBuffer | The color buffer to use when calculating the global mask. |
| MaskChannel | The global mask channel, for example which color channel to use from the color buffer. |
| bInvertGlobalMask | Set to true when you want the global mask to be inverted. |
| GlobalMaskWeights | The array of weights, one for each render vertex. |
| OutDeltaNormals | The array that we will write the generated normals to. This will automatically be resized by this method. |