UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
ContactTriangles.h File Reference
#include "CoreMinimal.h"
#include "Templates/UnrealTemplate.h"
#include "Chaos/Core.h"
#include "Chaos/Triangle.h"

Go to the source code of this file.

Classes

class  Chaos::FContactTriangle
 Data held alongside contact points when generating contacts against a (likely non-convex) mesh of triangles. More...
 
struct  Chaos::FContactEdgeID
 
struct  Chaos::FContactEdgeOrVertexID
 
class  Chaos::FTriangleContactPointData
 Extended data used when processing contactpoints on a triangle mesh. Adds information about which triangle we hit (in the local array of FoOntactTriangles) as well as which mesh edge or vertex we hit if appropriate (used for pruning). More...
 
class  Chaos::FContactTriangleCollector
 

Namespaces

namespace  Chaos
 

Typedefs

using Chaos::FContactVertexID = int32
 

Functions

bool Chaos::GetTriangleEdgeVerticesAtPosition (const FVec3 &Position, const FVec3 VertexA, const FVec3 VertexB, const FVec3 VertexC, int32 &OutEdgeVertexIndexA, int32 &OutEdgeVertexIndexB, const FReal BaryCentricTolerance=UE_KINDA_SMALL_NUMBER)
 
bool Chaos::GetTriangleEdgeVerticesAtPosition (const FVec3 &Position, const FVec3 Vertices[], int32 &OutEdgeVertexIndexA, int32 &OutEdgeVertexIndexB, const FReal BaryCentricTolerance=UE_KINDA_SMALL_NUMBER)