Navigation
Unreal Engine C++ API Reference > Runtime > Chaos > Chaos
References
Module | Chaos |
Header | /Engine/Source/Runtime/Experimental/Chaos/Public/Chaos/CollisionConvexMesh.h |
Include | #include "Chaos/CollisionConvexMesh.h" |
Syntax
class FConvexBuilder
Functions
Type | Name | Description | |
---|---|---|---|
![]() ![]() |
void | Build
(
const TArray< FVec3Type >& InVertices, |
|
![]() ![]() |
void | ||
![]() ![]() |
FTriangleMesh | BuildConvexHullTriMesh
(
const TArray< FVec3Type >& InVertices |
|
![]() ![]() |
void | BuildIndices
(
const TArray< FVec3Type >& InVertices, |
|
![]() ![]() |
void | BuildPlaneVertexIndices
(
TArray< FPlaneType >& InPlanes, |
Generate the vertex indices for all planes in CCW order (used to serialize old data that did not have structure data) |
![]() ![]() |
void | FinalizeFaces
(
const FPlaneType& Face, |
Make sure faces have CCW winding, remove inside points |
![]() ![]() |
bool | IsFaceOutlineConvex
(
const FPlaneType& Plane, |
|
![]() ![]() |
bool | ||
![]() ![]() |
bool | IsPerformanceWarning
(
int32 NumPlanes, |
|
![]() ![]() |
bool | IsPlanarShape
(
const TArray< FVec3Type >& InVertices, |
|
![]() ![]() |
bool | ||
![]() ![]() |
bool | IsValidTriangle
(
const FVec3Type& A, |
|
![]() ![]() |
bool | IsValidTriangle
(
const FVec3Type& A, |
|
![]() ![]() |
void | MergeColinearEdges
(
TArray< FPlaneType >& InOutPlanes, |
Find edge pairs that are colinear and remove the unnecessary vertex to make a single edge. |
![]() ![]() |
void | MergeFaces
(
TArray< FPlaneType >& InOutPlanes, |
Convert multi-triangle faces to single n-gons. |
![]() ![]() |
FString | PerformanceWarningString
(
int32 NumPlanes, |
|
![]() ![]() |
void | RemoveInsideFaceVertices
(
const FPlaneType& Face, |
IMPORTANT : vertices are assumed to be sorted CCW. |
![]() ![]() |
void | RemoveInvalidFaces
(
TArray< FPlaneType >& InOutPlanes, |
Remove any invalid faces ( less than 3 vertices ) |
![]() ![]() |
void | Simplify
(
TArray< FPlaneType >& InOutPlanes, |
|
![]() ![]() |
void | SortFaceVerticesCCW
(
const FPlaneType& Face, |
Reorder the vertices to be counter-clockwise about the normal. |
![]() ![]() |
FRealType | SuggestEpsilon
(
const TArray< FVec3Type >& InVertices |
|
![]() ![]() |
bool | UseConvexHull3
(
EBuildMethod BuildMethod |
Classes
Type | Name | Description | |
---|---|---|---|
![]() |
Params |
Enums
Type | Name | Description | |
---|---|---|---|
![]() |
EBuildMethod |
Typedefs
Name | Description |
---|---|
FAABB3Type | |
FPlaneType | |
FRealType | |
FVec3Type |
Constants
Name | Description |
---|---|
bUseGeometryTConvexHull3 | |
ComputeHorizonEpsilonFromMeshExtends | |
PerformGeometryCheck | CVars variables for controlling geometry complexity checking and simplification. |
PerformGeometryReduction | |
VerticesThreshold |