UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
GeometryCollectionConvexUtility.cpp File Reference

Namespaces

namespace  UE
 
namespace  UE::GeometryCollectionConvexUtility
 

Functions

void UE::GeometryCollectionConvexUtility::HullIntersectionStats (const Chaos::FConvex *HullA, const Chaos::FConvex *HullB, float HullBExpansion, float &OutArea, float &OutMaxArea, float &OutSharpContact, float &OutMaxSharpContact)
 
void UE::GeometryCollectionConvexUtility::IntersectConvexHulls (Chaos::FConvex *ResultHull, const Chaos::FConvex *ClipHull, float ClipHullOffset, const Chaos::FConvex *UpdateHull, const FTransform *ClipHullTransform, const FTransform *UpdateHullTransform, const FTransform *ResultTransform, double SimplificationDistanceThreshold)
 
bool CHAOS_API UE::GeometryCollectionConvexUtility::GetExistingConvexHullsInSharedSpace (const FManagedArrayCollection *Collection, FConvexHulls &OutConvexHulls, bool bLeafOnly)
 

Variables

bool UseVolumeToComputeRelativeSize = false
 
FAutoConsoleVariableRef CVarUseVolumeToComputeRelativeSize (TEXT("p.gc.UseVolumeToComputeRelativeSize"), UseVolumeToComputeRelativeSize, TEXT("Use Volume To Compute RelativeSize instead of the side of the cubic volume (def: false)"))
 
bool UseLargestClusterToComputeRelativeSize = false
 
FAutoConsoleVariableRef CVarUseMaxClusterToComputeRelativeSize (TEXT("p.gc.UseLargestClusterToComputeRelativeSize"), UseVolumeToComputeRelativeSize, TEXT("Use the largest Cluster as reference for the releative size instead of the largest child (def: false)"))
 
constexpr int32 IcoSphere_Subdiv0_Num = sizeof(IcoSphere_Subdiv0) / sizeof(Chaos::FVec3f)
 
constexpr int32 IcoSphere_Subdiv1_Num = sizeof(IcoSphere_Subdiv1) / sizeof(Chaos::FVec3f)
 
constexpr int32 IcoHemisphere_Subdiv1_Num = sizeof(IcoHemisphere_Subdiv1) / sizeof(Chaos::FVec3f)
 

Variable Documentation

◆ CVarUseMaxClusterToComputeRelativeSize

FAutoConsoleVariableRef CVarUseMaxClusterToComputeRelativeSize(TEXT("p.gc.UseLargestClusterToComputeRelativeSize"), UseVolumeToComputeRelativeSize, TEXT("Use the largest Cluster as reference for the releative size instead of the largest child (def: false)")) ( TEXT("p.gc.UseLargestClusterToComputeRelativeSize")  ,
UseVolumeToComputeRelativeSize  ,
TEXT("Use the largest Cluster as reference for the releative size instead of the largest child (def: false)")   
)

◆ CVarUseVolumeToComputeRelativeSize

FAutoConsoleVariableRef CVarUseVolumeToComputeRelativeSize(TEXT("p.gc.UseVolumeToComputeRelativeSize"), UseVolumeToComputeRelativeSize, TEXT("Use Volume To Compute RelativeSize instead of the side of the cubic volume (def: false)")) ( TEXT("p.gc.UseVolumeToComputeRelativeSize")  ,
UseVolumeToComputeRelativeSize  ,
TEXT("Use Volume To Compute RelativeSize instead of the side of the cubic volume (def: false)")   
)

◆ IcoHemisphere_Subdiv1_Num

constexpr int32 IcoHemisphere_Subdiv1_Num = sizeof(IcoHemisphere_Subdiv1) / sizeof(Chaos::FVec3f)
constexpr

◆ IcoSphere_Subdiv0_Num

constexpr int32 IcoSphere_Subdiv0_Num = sizeof(IcoSphere_Subdiv0) / sizeof(Chaos::FVec3f)
constexpr

◆ IcoSphere_Subdiv1_Num

constexpr int32 IcoSphere_Subdiv1_Num = sizeof(IcoSphere_Subdiv1) / sizeof(Chaos::FVec3f)
constexpr

◆ UseLargestClusterToComputeRelativeSize

bool UseLargestClusterToComputeRelativeSize = false

◆ UseVolumeToComputeRelativeSize

bool UseVolumeToComputeRelativeSize = false