Navigation
API > API/Runtime > API/Runtime/CADKernel
Define the mesh of a topological face. This mesh is an array of triangle
| Name | FFaceMesh |
| Type | class |
| Header File | /Engine/Source/Runtime/Datasmith/CADKernel/Base/Public/Mesh/Structure/FaceMesh.h |
| Include Path | #include "Mesh/Structure/FaceMesh.h" |
Syntax
class FFaceMesh : public UE::CADKernel::FMesh
Inheritance Hierarchy
- FSharedFromThisBase → TSharedFromThis → FEntity → FEntityGeom → FMesh → FFaceMesh
- FHaveStates → FEntity → FEntityGeom → FMesh → FFaceMesh
- FMesh → FFaceMesh
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FFaceMesh
(
FModelMesh& InMeshModel, |
Mesh/Structure/FaceMesh.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| Normals | TArray< FVector3f > | Normals of the surface mesh vertices | Mesh/Structure/FaceMesh.h | |
| TrianglesVerticesIndex | TArray< int32 > | Index of the 3 vertices of each triangle in the local VertexIndices i.e. Triangle(a,b,c) use VertexIndices[a], VertexIndices[b], VertexIndices[c] | Mesh/Structure/FaceMesh.h | |
| UVMap | TArray< FVector2f > | UV coordinates of the surface mesh vertices | Mesh/Structure/FaceMesh.h | |
| VerticesGlobalIndex | TArray< int32 > | Index of the surface mesh vertices in the MeshModel vertex set | Mesh/Structure/FaceMesh.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void AddTriangle
(
int32 IndexA, |
Mesh/Structure/FaceMesh.h | ||
void GetNodeIdToCoordinates
(
TMap< int32, const FVector* >& NodeIdToCoordinates |
Mesh/Structure/FaceMesh.h | ||
void Init
(
int32 TriangleNum, |
Mesh/Structure/FaceMesh.h | ||
void InverseOrientation() |
Mesh/Structure/FaceMesh.h |