Navigation
API > API/Runtime > API/Runtime/SkeletalMeshDescription > API/Runtime/SkeletalMeshDescription/FSkeletalMeshOperations
Description
Helper function to follow behavior generated in FSkeletalMeshImportData::GetMeshDescription, just straight on FMeshDescriptions It will do the following steps:
- ConvertSmoothGroupToHardEdges
- ValidateAndFixData
- HasInvalidVertexInstanceNormalsOrTangents -> ComputeTriangleTangentsAndNormals
- (Re)BuildIndexers
| Name | ValidateFixComputeMeshDescriptionData |
| Type | function |
| Header File | /Engine/Source/Runtime/SkeletalMeshDescription/Public/SkeletalMeshOperations.h |
| Include Path | #include "SkeletalMeshOperations.h" |
| Source | /Engine/Source/Runtime/SkeletalMeshDescription/Private/SkeletalMeshOperations.cpp |
static void ValidateFixComputeMeshDescriptionData
(
FMeshDescription & MeshDescription,
const TArray < uint32 > & FaceSmoothingMasks,
int32 LODIndex,
const bool bComputeWeightedNormals,
const FString & SkeletalMeshPath
)