Navigation
API > API/Runtime > API/Runtime/GeometryCore > API/Runtime/GeometryCore/FConvexDecomposition3
Overloads
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void InitializeFromIndexMesh
(
TArrayView< const FVector3f > Vertices, |
Initialize convex decomposition with a triangle index mesh | CompGeom/ConvexDecomposition3.h | |
void InitializeFromIndexMesh
(
TArrayView< const FVector3f > Vertices, |
Initialize convex decomposition with a triangle index mesh | CompGeom/ConvexDecomposition3.h |
InitializeFromIndexMesh(TArrayView< const FVector3f >, TArrayView< const FIntVector >, bool, int32)
Description
Initialize convex decomposition with a triangle index mesh
| Name | InitializeFromIndexMesh |
| Type | function |
| Header File | /Engine/Source/Runtime/GeometryCore/Public/CompGeom/ConvexDecomposition3.h |
| Include Path | #include "CompGeom/ConvexDecomposition3.h" |
| Source | /Engine/Source/Runtime/GeometryCore/Private/CompGeom/ConvexDecomposition3.cpp |
void InitializeFromIndexMesh
(
TArrayView < const FVector3f > Vertices,
TArrayView < const FIntVector > Faces,
bool bMergeEdges,
int32 FaceVertexOffset
)
Parameters
| Name | Remarks |
|---|---|
| Vertices | Vertex buffer for mesh to decompose |
| Faces | Triangle buffer for mesh to decompose |
| bMergeEdges | Whether to attempt to weld matching edges before computing the convex hull; this can help the convex decomposition find better cutting planes for meshes that have boundaries e.g. due to seams |
| FaceVertexOffset | Indices from the Faces array are optionally offset by this value. Useful e.g. to take slices of the multi-geometry vertex and face buffers of FGeometryCollection. |
InitializeFromIndexMesh(TArrayView< const FVector3f >, TArrayView< const FIntVector >, const FPreprocessMeshOptions &, int32)
Description
Initialize convex decomposition with a triangle index mesh
| Name | InitializeFromIndexMesh |
| Type | function |
| Header File | /Engine/Source/Runtime/GeometryCore/Public/CompGeom/ConvexDecomposition3.h |
| Include Path | #include "CompGeom/ConvexDecomposition3.h" |
| Source | /Engine/Source/Runtime/GeometryCore/Private/CompGeom/ConvexDecomposition3.cpp |
void InitializeFromIndexMesh
(
TArrayView < const FVector3f > Vertices,
TArrayView < const FIntVector > Faces,
const FPreprocessMeshOptions & Options,
int32 FaceVertexOffset
)
Parameters
| Name | Remarks |
|---|---|
| Vertices | Vertex buffer for mesh to decompose |
| Faces | Triangle buffer for mesh to decompose |
| Options | Options for pre-processing the mesh before decomposition (e.g., to weld matching edges, thicken degenerate inputs, or to run a general pre-process lambda function) |
| FaceVertexOffset | Indices from the Faces array are optionally offset by this value. Useful e.g. to take slices of the multi-geometry vertex and face buffers of FGeometryCollection. |