Module |
|
Header |
/Engine/Plugins/Experimental/GeometryProcessing/Source/MeshConversion/Public/MeshDescriptionAdapter.h |
Include |
#include "MeshDescriptionAdapter.h" |
struct FMeshDescriptionTriangleMeshAdapter
Basic struct to adapt a FMeshDescription for use by GeometryProcessing classes that template the mesh type and expect a standard set of basic accessors For example, this adapter will let you use a FMeshDescription with GeometryProcessing's TMeshAABBTree3 See also the Editable version below
Usage example given some const FMeshDescription* Mesh: FMeshDescriptionAABBAdapter MeshAdapter(Mesh); // adapt the mesh TMeshAABBTree3<const FMeshDescriptionTriangleMeshAdapter> AABBTree(&MeshAdapter); // provide the adapter to a templated class like TMeshAABBTree3
Name | Description | ||
---|---|---|---|
|
const FMeshDesc... |
Mesh |
|
|
VertexInstanceNormals |
||
|
VertexPositions |
Name | Description | |
---|---|---|
|
FMeshDescriptionTriangleMeshAdapter ( |
Name | Description | ||
---|---|---|---|
|
GetNormal ( |
||
|
GetShapeTimestamp() |
||
|
GetTriangle ( |
||
|
GetTriVertices |
||
|
GetVertex ( |
||
|
HasNormals() |
||
|
IsNormal ( |
||
|
IsTriangle ( |
||
|
IsVertex ( |
||
|
MaxNormalID() |
||
|
MaxTriangleID() |
ID and Count are the same for MeshDescription because it's compact. |
|
|
MaxVertexID() |
||
|
NormalCount() |
||
|
TriangleCount() |
||
|
VertexCount() |