FTessellationData

Helper struct to store tessellation data from CoreTech or CADKernel

Choose your operating system:

Windows

macOS

Linux

References

Module

CADTools

Header

/Engine/Plugins/Enterprise/DatasmithCADImporter/Source/CADTools/Public/CADData.h

Include

#include "CADData.h"

Syntax

struct FTessellationData

Remarks

Helper struct to store tessellation data from CoreTech or CADKernel

FBodyMesh and FTessellationData are design to manage mesh from CoreTech and CADKernel. FTessellationData is the mesh of a face FBodyMesh is the mesh of a body composed by an array of FTessellationData (one FTessellationData by body face)

CoreTech mesh are defined surface by surface. The mesh is not connected CADKernel mesh is connected.

Variables

Name Description

Public variable

FCADUUID

 

ColorName

Public variable

FCADUUID

 

MaterialName

Public variable

TArray< FVector...

 

NormalArray

Normal of each vertex

Public variable

int32

 

PatchId

Public variable

TArray< FVector...

 

PositionArray

Empty with CADKernel as set in FBodyMesh, Set by CoreTech (this is only the vertices of the face)

Public variable

TArray< int32 >

 

PositionIndices

Index of each vertex in FBody::VertexArray. Empty with CoreTech and filled by FillKioVertexPosition

Public variable

TArray< FVector...

 

TexCoordArray

UV coordinates of each vertex

Public variable

TArray< int32 >

 

VertexIndices

Index of Vertices of each face in the local Vertices set (i.e. VerticesBodyIndex for CADKernel, VertexArray for Coretech)