Navigation
API > API/Runtime > API/Runtime/Chaos > API/Runtime/Chaos/FMeshContactGenerator
Info about an edge contact that allows us to prevent adding duplicate edge contacts from the two triangles that share the edge.
| Name | FEdgeContactData |
| Type | struct |
| Header File | /Engine/Source/Runtime/Experimental/Chaos/Public/Chaos/Collision/MeshContactGenerator.h |
| Include Path | #include "Chaos/Collision/MeshContactGenerator.h" |
Syntax
struct FEdgeContactData
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
| Chaos/Collision/MeshContactGenerator.h | |||
FEdgeContactData
(
const FContactEdgeID& InID, |
Chaos/Collision/MeshContactGenerator.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| bIsFaceContact | bool | Chaos/Collision/MeshContactGenerator.h | ||
| ContactIndices | int32 | Chaos/Collision/MeshContactGenerator.h | ||
| ContactNormalDotTriangleNormal | FRealSingle | Chaos/Collision/MeshContactGenerator.h | ||
| ID | FContactEdgeID | Chaos/Collision/MeshContactGenerator.h | ||
| LocalTriangleIndex | int32 | Chaos/Collision/MeshContactGenerator.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void AddContact
(
int32 InContactIndex, |
Chaos/Collision/MeshContactGenerator.h | ||
void Init
(
const FContactEdgeID& InID, |
Chaos/Collision/MeshContactGenerator.h |