Navigation
API > API/Plugins > API/Plugins/CADTools
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.
| Name | FTessellationData |
| Type | struct |
| Header File | /Engine/Plugins/Enterprise/DatasmithCADImporter/Source/CADTools/Public/CADData.h |
| Include Path | #include "CADData.h" |
Syntax
struct FTessellationData : public CADLibrary::FArchiveGraphicProperties
Inheritance Hierarchy
- FArchiveGraphicProperties → FTessellationData
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| NormalArray | TArray< FVector3f > | Normal of each vertex | CADData.h | |
| PatchId | int32 | CADData.h | ||
| PositionArray | TArray< FVector3f > | Empty with CADKernel as set in FBodyMesh, Set by CoreTech (this is only the vertices of the face) | CADData.h | |
| PositionIndices | TArray< int32 > | Index of each vertex in FBody::VertexArray. Empty with CoreTech and filled by FillKioVertexPosition | CADData.h | |
| TexCoordArray | TArray< FVector2f > | UV coordinates of each vertex | CADData.h | |
| VertexIndices | TArray< int32 > | Index of Vertices of each face in the local Vertices set (i.e. VerticesBodyIndex for CADKernel) | CADData.h |