UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
UE::Geometry::FConvexDecomposition3::FConvexPart Struct Reference

#include <ConvexDecomposition3.h>

Public Member Functions

 FConvexPart ()
 
 FConvexPart (const FDynamicMesh3 &SourceMesh, bool bMergeEdges, FTransformSRT3d &TransformOut)
 
 FConvexPart (const FDynamicMesh3 &SourceMesh, const FConvexDecomposition3::FPreprocessMeshOptions &Options, FTransformSRT3d &TransformOut)
 
 FConvexPart (TArrayView< const FVector3f > Vertices, TArrayView< const FIntVector3 > Faces, const FConvexDecomposition3::FPreprocessMeshOptions &Options, FTransformSRT3d &TransformOut, int32 FaceVertexOffset=0)
 
 FConvexPart (TArrayView< const FVector3f > Vertices, TArrayView< const FIntVector3 > Faces, bool bMergeEdges, FTransformSRT3d &TransformOut, int32 FaceVertexOffset=0)
 
 FConvexPart (bool bIsCompact)
 
void Reset ()
 
bool IsCompact () const
 
bool IsFailed () const
 
void ComputeHullPlanes ()
 
double GetHullDepth (FVector3d Pt)
 
bool ComputeHull (bool bComputePlanes=true, double ThickenAfterHullFailureInLocalSpace=0.0)
 
void ComputeStats ()
 
void Compact ()
 

Public Attributes

FDynamicMesh3 InternalGeo
 
TArray< FIndex3iHullTriangles
 
TArray< FPlane3dHullPlanes
 
int32 HullSourceID = -1
 
TArray< int32OverlapsNegativeSpace
 
double HullVolume = 0
 
double GeoVolume = 0
 
double SumHullsVolume = -FMathd::MaxReal
 
FVector3d GeoCenter = FVector3d::ZeroVector
 
FAxisAlignedBox3d Bounds
 
bool bGeometryVolumeUnreliable = false
 
bool bSplitFailed = false
 
bool bMustMerge = false
 
double HullError = FMathd::MaxReal
 

Protected Attributes

bool bIsCompact = false
 
bool bFailed = false
 

Constructor & Destructor Documentation

◆ FConvexPart() [1/6]

UE::Geometry::FConvexDecomposition3::FConvexPart::FConvexPart ( )
inline

◆ FConvexPart() [2/6]

UE::Geometry::FConvexDecomposition3::FConvexPart::FConvexPart ( const FDynamicMesh3 SourceMesh,
bool  bMergeEdges,
FTransformSRT3d TransformOut 
)

◆ FConvexPart() [3/6]

UE::Geometry::FConvexDecomposition3::FConvexPart::FConvexPart ( const FDynamicMesh3 SourceMesh,
const FConvexDecomposition3::FPreprocessMeshOptions Options,
FTransformSRT3d TransformOut 
)

◆ FConvexPart() [4/6]

UE::Geometry::FConvexDecomposition3::FConvexPart::FConvexPart ( TArrayView< const FVector3f Vertices,
TArrayView< const FIntVector3 Faces,
const FConvexDecomposition3::FPreprocessMeshOptions Options,
FTransformSRT3d TransformOut,
int32  FaceVertexOffset = 0 
)

◆ FConvexPart() [5/6]

UE::Geometry::FConvexDecomposition3::FConvexPart::FConvexPart ( TArrayView< const FVector3f Vertices,
TArrayView< const FIntVector3 Faces,
bool  bMergeEdges,
FTransformSRT3d TransformOut,
int32  FaceVertexOffset = 0 
)

◆ FConvexPart() [6/6]

UE::Geometry::FConvexDecomposition3::FConvexPart::FConvexPart ( bool  bIsCompact)
inline

Member Function Documentation

◆ Compact()

void UE::Geometry::FConvexDecomposition3::FConvexPart::Compact ( )

◆ ComputeHull()

bool UE::Geometry::FConvexDecomposition3::FConvexPart::ComputeHull ( bool  bComputePlanes = true,
double  ThickenAfterHullFailureInLocalSpace = 0.0 
)

◆ ComputeHullPlanes()

void UE::Geometry::FConvexDecomposition3::FConvexPart::ComputeHullPlanes ( )

◆ ComputeStats()

void UE::Geometry::FConvexDecomposition3::FConvexPart::ComputeStats ( )

◆ GetHullDepth()

double UE::Geometry::FConvexDecomposition3::FConvexPart::GetHullDepth ( FVector3d  Pt)
inline

◆ IsCompact()

bool UE::Geometry::FConvexDecomposition3::FConvexPart::IsCompact ( ) const
inline

◆ IsFailed()

bool UE::Geometry::FConvexDecomposition3::FConvexPart::IsFailed ( ) const
inline

◆ Reset()

void UE::Geometry::FConvexDecomposition3::FConvexPart::Reset ( )
inline

Member Data Documentation

◆ bFailed

bool UE::Geometry::FConvexDecomposition3::FConvexPart::bFailed = false
protected

◆ bGeometryVolumeUnreliable

bool UE::Geometry::FConvexDecomposition3::FConvexPart::bGeometryVolumeUnreliable = false

◆ bIsCompact

bool UE::Geometry::FConvexDecomposition3::FConvexPart::bIsCompact = false
protected

◆ bMustMerge

bool UE::Geometry::FConvexDecomposition3::FConvexPart::bMustMerge = false

◆ Bounds

FAxisAlignedBox3d UE::Geometry::FConvexDecomposition3::FConvexPart::Bounds

◆ bSplitFailed

bool UE::Geometry::FConvexDecomposition3::FConvexPart::bSplitFailed = false

◆ GeoCenter

FVector3d UE::Geometry::FConvexDecomposition3::FConvexPart::GeoCenter = FVector3d::ZeroVector

◆ GeoVolume

double UE::Geometry::FConvexDecomposition3::FConvexPart::GeoVolume = 0

◆ HullError

double UE::Geometry::FConvexDecomposition3::FConvexPart::HullError = FMathd::MaxReal

◆ HullPlanes

TArray<FPlane3d> UE::Geometry::FConvexDecomposition3::FConvexPart::HullPlanes

◆ HullSourceID

int32 UE::Geometry::FConvexDecomposition3::FConvexPart::HullSourceID = -1

◆ HullTriangles

TArray<FIndex3i> UE::Geometry::FConvexDecomposition3::FConvexPart::HullTriangles

◆ HullVolume

double UE::Geometry::FConvexDecomposition3::FConvexPart::HullVolume = 0

◆ InternalGeo

FDynamicMesh3 UE::Geometry::FConvexDecomposition3::FConvexPart::InternalGeo

◆ OverlapsNegativeSpace

TArray<int32> UE::Geometry::FConvexDecomposition3::FConvexPart::OverlapsNegativeSpace

◆ SumHullsVolume

double UE::Geometry::FConvexDecomposition3::FConvexPart::SumHullsVolume = -FMathd::MaxReal

The documentation for this struct was generated from the following files: