FMeshDescriptionToDynamicMesh

Convert [FMeshDescription](API\Runtime\MeshDescription\FMeshDescription) to [FDynamicMesh3](API\Plugins\DynamicMesh\FDynamicMesh3)

Windows
MacOS
Linux

References

Module

MeshConversion

Header

/Engine/Plugins/Experimental/GeometryProcessing/Source/MeshConversion/Public/MeshDescriptionToDynamicMesh.h

Include

#include "MeshDescriptionToDynamicMesh.h"

Syntax

class FMeshDescriptionToDynamicMesh

Remarks

Variables

Name Description

Public variable

bool

 

bCalculateMaps

Should we calculate conversion index maps

Public variable

bool

 

bDisableAttributes

Ignore all mesh attributes (e.g. UV/Normal layers, material groups)

Public variable

bool

 

bEnableOutputGroups

Should we initialize triangle groups on output mesh

Public variable

bool

 

bPrintDebugMessages

If true, will print some possibly-helpful debugging spew to output log

Public variable

EPrimaryGroupMo...

 

GroupMode

Which mode to use to create groups on output mesh. Ignored if bEnableOutputGroups = false.

Public variable

TArray< FIndex2...

 

TriToPolyTriMap

Map from triangle ID to (polygon,triangle) pair

Functions

Name Description

Public function

void

 

Convert

(
    const FMeshDescription* MeshIn,
    FDynamicMesh3& MeshOut
)

Default conversion of MeshDescription to DynamicMesh

Public function

void

 

CopyTangents

(
    const FMeshDescription* Source...,
    const FDynamicMesh3* TargetMes...,
    TMeshTangents< float >* Tangen...
)

Copy tangents from MeshDescription to a FMeshTangents instance.

Enums

Name

Description

Public enum

EPrimaryGroupMode

Various modes can be used to create output triangle groups

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss