FDatasmithMeshUtils Class Reference

Static Public Member Functions

static bool ToRawMesh (const FDatasmithMesh &Mesh, FRawMesh &RawMesh, bool bValidateRawMesh=true)
 
static bool ToMeshDescription (FDatasmithMesh &DsMesh, FMeshDescription &MeshDescription)
 
static bool IsUVChannelValid (const FDatasmithMesh &DsMesh, const int32 Channel)
 Validates that the given UV Channel does not contain a degenerated triangle. More...
 

Member Function Documentation

◆ IsUVChannelValid()

static bool FDatasmithMeshUtils::IsUVChannelValid ( const FDatasmithMesh &  DsMesh,
const int32  Channel 
)
static

Validates that the given UV Channel does not contain a degenerated triangle.

Parameters
DSMeshThe DatasmithMesh to validate.
ChannelThe UV channel to validate, starting at 0

◆ ToRawMesh()

static bool FDatasmithMeshUtils::ToRawMesh ( const FDatasmithMesh &  Mesh,
FRawMesh &  RawMesh,
bool  bValidateRawMesh = true 
)
static
Parameters
bValidateRawMeshthis boolean indicate if the raw must be valid. For example a collision mesh don't need to have a valid raw mesh

The documentation for this class was generated from the following file: