Navigation
API > API/Plugins > API/Plugins/MetaHumanCharacterEditor > API/Plugins/MetaHumanCharacterEditor/UMetaHumanCharacterEditorSubsyst-
Description
Extract topology vertices and triangle indices from a static or skeletal mesh. Uses the MeshDescription to return the same data that the interactive conform tool uses internally.
| Name | GetMeshDataForConforming |
| Type | function |
| Header File | /Engine/Plugins/MetaHuman/MetaHumanCharacter/Source/MetaHumanCharacterEditor/Public/MetaHumanCharacterEditorSubsystem.h |
| Include Path | #include "MetaHumanCharacterEditorSubsystem.h" |
| Source | /Engine/Plugins/MetaHuman/MetaHumanCharacter/Source/MetaHumanCharacterEditor/Private/MetaHumanCharacterEditorSubsystem.cpp |
UFUNCTION (BlueprintCallable, Category="MetaHuman|Conforming")
static bool GetMeshDataForConforming
(
UObject * InMesh,
TArray < FVector3f > & OutVertices,
TArray < int32 > & OutTriangleIndices
)
true if extraction succeeded
Parameters
| Name | Remarks |
|---|---|
| InMesh | The source mesh (UStaticMesh or USkeletalMesh) |
| OutVertices | Topology vertex positions |
| OutTriangleIndices | Triangle indices (3 per triangle, referencing OutVertices) |