Navigation
API > API/Runtime > API/Runtime/Chaos
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).
| Name | FTriangleContactPointData |
| Type | class |
| Header File | /Engine/Source/Runtime/Experimental/Chaos/Public/Chaos/Collision/ContactTriangles.h |
| Include Path | #include "Chaos/Collision/ContactTriangles.h" |
Syntax
class FTriangleContactPointData
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FTriangleContactPointData() |
Chaos/Collision/ContactTriangles.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| bIsEnabled | bool | Chaos/Collision/ContactTriangles.h | ||
| ContactNormalDotTriangleNormal | FRealSingle | Chaos/Collision/ContactTriangles.h | ||
| ContactTriangleIndex | int32 | Chaos/Collision/ContactTriangles.h | ||
| EdgeOrVertexID | FContactEdgeOrVertexID | Chaos/Collision/ContactTriangles.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FRealSingle GetContactNormalDotTriangleNormal() |
Chaos/Collision/ContactTriangles.h | ||
FContactEdgeID GetEdgeID() |
Chaos/Collision/ContactTriangles.h | ||
int32 GetTriangleIndex() |
Chaos/Collision/ContactTriangles.h | ||
FContactVertexID GetVertexID() |
Chaos/Collision/ContactTriangles.h | ||
bool IsEdge() |
Chaos/Collision/ContactTriangles.h | ||
bool IsEnabled() |
Chaos/Collision/ContactTriangles.h | ||
bool IsVertex() |
Chaos/Collision/ContactTriangles.h | ||
void SetContactNormalDotTriangleNormal
(
const FRealSingle InContactNormalDotTriangleNormal |
Chaos/Collision/ContactTriangles.h | ||
void SetDisabled() |
Chaos/Collision/ContactTriangles.h | ||
void SetEdgeID
(
const FContactVertexID InVertexIDA, |
Chaos/Collision/ContactTriangles.h | ||
void SetEdgeOrVertexID
(
const FContactEdgeOrVertexID InEdgeOrVertexID |
Chaos/Collision/ContactTriangles.h | ||
void SetEnabled() |
Chaos/Collision/ContactTriangles.h | ||
void SetTriangleIndex
(
const int32 InTriangleIndex |
Chaos/Collision/ContactTriangles.h | ||
void SetVertexID
(
const FContactVertexID InVertexID |
Chaos/Collision/ContactTriangles.h |