Navigation
API > API/Runtime > API/Runtime/Chaos
| Name | FGeometryCollectionProximityUtility |
| Type | class |
| Header File | /Engine/Source/Runtime/Experimental/Chaos/Public/GeometryCollection/GeometryCollectionProximityUtility.h |
| Include Path | #include "GeometryCollection/GeometryCollectionProximityUtility.h" |
Syntax
class FGeometryCollectionProximityUtility
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FGeometryCollectionProximityUtility
(
FGeometryCollection* InCollection |
GeometryCollection/GeometryCollectionProximityUtility.h |
Structs
| Name | Remarks |
|---|---|
| FGeometryContactEdge | Stores stats about the contact between two geometries. |
Constants
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| PreciseProximityThreshold | float | This threshold not exposed to the user via Properties.DistanceThreshold because it doesn't behave very well if increased to large values the computation would become closer to O(n^2), and the results would likely be confusing/inconsistent | GeometryCollection/GeometryCollectionProximityUtility.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| Collection | FGeometryCollection * | GeometryCollection/GeometryCollectionProximityUtility.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void ClearConnectionGraph() |
GeometryCollection/GeometryCollectionProximityUtility.h | ||
void CopyProximityToConnectionGraph
(
const TArray< FGeometryContactEdge >* ContactEdges |
GeometryCollection/GeometryCollectionProximityUtility.h | ||
void EnumerateNeighbors
(
const Chaos::Facades::FCollectionHierarchyFacade& Hierarchy, |
GeometryCollection/GeometryCollectionProximityUtility.h | ||
void InvalidateProximity() |
GeometryCollection/GeometryCollectionProximityUtility.h | ||
void RequireProximity
(
UE::GeometryCollectionConvexUtility::FConvexHulls* OptionalComputedHulls |
Update proximity data if it is not already present. | GeometryCollection/GeometryCollectionProximityUtility.h | |
void UpdateProximity
(
UE::GeometryCollectionConvexUtility::FConvexHulls* OptionalComputedHulls |
GeometryCollection/GeometryCollectionProximityUtility.h |
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static TArray< FGeometryContactEdge > ComputeConvexGeometryContactFromProximity
(
FGeometryCollection* Collection, |
Note: This computes connections from lower to higher geometry indices, assuming connections are symmetric. | GeometryCollection/GeometryCollectionProximityUtility.h | |
static TArray< TSet< int32 > > ComputePreciseProximity
(
const FGeometryCollection& InCollection |
Method to compute the precise proximity, regardless of the proximity configuration on the collection. | GeometryCollection/GeometryCollectionProximityUtility.h |