UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
GeometryCollectionAlgo Namespace Reference

Namespaces

namespace  Private
 

Classes

struct  FFaceEdge
 

Typedefs

using FIndicesNeedMatricesArray = TArray< int32, TInlineAllocator< 16 > >
 

Functions

template<typename TransformType >
void PrintParentHierarchyRecursive (int32 Index, const TManagedArray< TransformType > &Transform, const TManagedArray< int32 > &Parent, const TManagedArray< TSet< int32 > > &Children, const TManagedArray< int32 > &SimulationType, const TManagedArray< FString > &BoneName, int8 Tab=0)
 
void PrintParentHierarchy (const FGeometryCollection *Collection)
 
void ContiguousArray (TArray< int32 > &Array, int32 Length)
 
void BuildIncrementMask (const TArray< int32 > &SortedDeletionList, const int32 &Size, TArray< int32 > &Mask)
 
void BuildLookupMask (const TArray< int32 > &SortedDeletionList, const int32 &Size, TArray< bool > &Mask)
 
void BuildTransformGroupToGeometryGroupMap (const FGeometryCollection &GeometryCollection, TArray< int32 > &TransformToGeometry)
 
void BuildFaceGroupToGeometryGroupMap (const FGeometryCollection &GeometryCollection, const TArray< int32 > &TransformToGeometryMap, TArray< int32 > &FaceToGeometry)
 
void ValidateSortedList (const TArray< int32 > &SortedDeletionList, const int32 &ListSize)
 
FVector AveragePosition (FGeometryCollection *Collection, const TArray< int32 > &Indices)
 
bool HasMultipleRoots (FGeometryCollection *Collection)
 
bool HasCycle (const TManagedArray< int32 > &Parents, int32 Node)
 
bool HasCycle (const TManagedArray< int32 > &Parents, const TArray< int32 > &SelectedBones)
 
void ParentTransform (FManagedArrayCollection *ManagedArrayCollection, const int32 TransformIndex, const int32 ChildIndex)
 
void ParentTransforms (FManagedArrayCollection *ManagedArrayCollection, const int32 TransformIndex, const TArray< int32 > &SelectedBones)
 
void UnparentTransform (FManagedArrayCollection *ManagedArrayCollection, const int32 ChildIndex)
 
bool GlobalMatricesGetIndicesToProcessHelper (const int32 Index, const FGeometryDynamicCollection &DynamicCollection, int32 ParentNum, TArray< bool > &IsTransformComputed, FIndicesNeedMatricesArray &OutToProcess)
 
bool GlobalMatricesGetIndicesToProcessHelper (const int32 Index, const TManagedArray< int32 > &Parents, TArray< bool > &IsTransformComputed, FIndicesNeedMatricesArray &OutToProcess)
 
template<typename TransformType >
void GlobalMatricesHelper (const int32 Index, const FGeometryDynamicCollection &DynamicCollection, TArray< bool > &IsTransformComputed, const TManagedArray< FTransform > *UniformScale, TArray< TransformType > &OutGlobalTransforms)
 
template<typename TransformType , typename TransformTypeOut >
void GlobalMatricesHelper (const int32 Index, const TManagedArray< int32 > &Parents, const TManagedArray< TransformType > &Transform, TArray< bool > &IsTransformComputed, const TManagedArray< FTransform > *UniformScale, TArray< TransformTypeOut > &OutGlobalTransforms)
 
template<typename TransformType >
void GlobalMatricesHelper (const int32 Index, const TManagedArray< int32 > &Parents, const TManagedArray< TransformType > &Transform, TArray< bool > &IsTransformComputed, const TManagedArray< FTransform > *UniformScale, TArray< FMatrix > &OutGlobalTransforms)
 
FTransform GlobalMatricesHelperForIndicesDynCol (const int32 Index, const FGeometryDynamicCollection &DynamicCollection, TArray< bool > &IsTransformComputed, const TManagedArray< FTransform > *UniformScale, TArray< FTransform > &TransformCache)
 
template<typename TransnformType >
TransnformType GlobalMatricesHelperForIndices (const int32 Index, const TManagedArray< int32 > &Parents, const TManagedArray< TransnformType > &Transform, TArray< bool > &IsTransformComputed, const TManagedArray< TransnformType > *UniformScale, TArray< FTransform > &TransformCache)
 
template<typename TransformType >
TransformType GlobalMatrixTemplate (const TManagedArray< TransformType > &RelativeTransforms, const TManagedArray< int32 > &Parents, int32 Index)
 
template<typename TransformType >
TransformType GlobalMatrixTemplate (TArrayView< const TransformType > RelativeTransforms, TArrayView< const int32 > Parents, int32 Index)
 
FTransform GlobalMatrix (const TManagedArray< FTransform > &RelativeTransforms, const TManagedArray< int32 > &Parents, int32 Index)
 
FTransform3f GlobalMatrix3f (const TManagedArray< FTransform3f > &RelativeTransforms, const TManagedArray< int32 > &Parents, int32 Index)
 
FTransform GlobalMatrix (const TManagedArray< FTransform3f > &RelativeTransforms, const TManagedArray< int32 > &Parents, int32 Index)
 
FTransform GlobalMatrix (TArrayView< const FTransform > RelativeTransforms, TArrayView< const int32 > Parents, int32 Index)
 
FTransform GlobalMatrix (TArrayView< const FTransform3f > RelativeTransforms, TArrayView< const int32 > Parents, int32 Index)
 
template<class TransformType , class TransformTypeOut >
void GlobalMatricesTemplate (const TManagedArray< TransformType > &RelativeTransforms, const TManagedArray< int32 > &Parents, const TArray< int32 > &Indices, TArray< TransformTypeOut > &OutGlobalTransforms)
 
void GlobalMatrices (const TManagedArray< FTransform > &RelativeTransforms, const TManagedArray< int32 > &Parents, const TArray< int32 > &Indices, TArray< FTransform > &Transforms)
 
void GlobalMatrices (const TManagedArray< FTransform3f > &RelativeTransforms, const TManagedArray< int32 > &Parents, const TArray< int32 > &Indices, TArray< FTransform3f > &Transforms)
 
void GlobalMatricesFromRoot (const int32 ParentTransformIndex, const TManagedArray< FTransform > &RelativeTransforms, const TManagedArray< TSet< int32 > > &Children, TArray< FMatrix > &Transforms)
 
template<typename MatrixType >
void GlobalMatrices (const TManagedArray< FTransform > &RelativeTransforms, const TManagedArray< int32 > &Parents, const TManagedArray< FTransform > &UniformScale, TArray< MatrixType > &OutGlobalTransforms)
 
template<typename MatrixType , typename TransformType >
void GlobalMatrices (const TManagedArray< TransformType > &RelativeTransforms, const TManagedArray< int32 > &Parents, TArray< MatrixType > &OutGlobalTransforms)
 
template void CHAOS_API GlobalMatrices< FTransform > (const TManagedArray< FTransform > &, const TManagedArray< int32 > &, const TManagedArray< FTransform > &, TArray< FTransform > &)
 
template void CHAOS_API GlobalMatrices< FMatrix > (const TManagedArray< FTransform > &, const TManagedArray< int32 > &, const TManagedArray< FTransform > &, TArray< FMatrix > &)
 
template void CHAOS_API GlobalMatrices< FTransform, FTransform > (const TManagedArray< FTransform > &, const TManagedArray< int32 > &, TArray< FTransform > &)
 
template void CHAOS_API GlobalMatrices< FMatrix, FTransform > (const TManagedArray< FTransform > &, const TManagedArray< int32 > &, TArray< FMatrix > &)
 
template void CHAOS_API GlobalMatrices< FTransform, FTransform3f > (const TManagedArray< FTransform3f > &, const TManagedArray< int32 > &, TArray< FTransform > &)
 
template void CHAOS_API GlobalMatrices< FMatrix, FTransform3f > (const TManagedArray< FTransform3f > &, const TManagedArray< int32 > &, TArray< FMatrix > &)
 
template void CHAOS_API GlobalMatrices< FTransform3f, FTransform3f > (const TManagedArray< FTransform3f > &, const TManagedArray< int32 > &, TArray< FTransform3f > &)
 
template void CHAOS_API GlobalMatrices< FTransform3f, FTransform > (const TManagedArray< FTransform > &, const TManagedArray< int32 > &, TArray< FTransform3f > &)
 
void FloodForOverlappedPairs (int Level, int32 BoneIndex, TMap< int32, int32 > &BoneToGroup, const TManagedArray< int32 > &Levels, const TMap< int32, FBox > &BoundingBoxes, TSet< TTuple< int32, int32 > > &OutOverlappedPairs)
 
void GetOverlappedPairs (FGeometryCollection *GeometryCollection, int Level, TSet< TTuple< int32, int32 > > &OutOverlappedPairs)
 
void PrepareForSimulation (FGeometryCollection *GeometryCollection, bool CenterAtOrigin)
 
void ReCenterGeometryAroundCentreOfMass (FGeometryCollection *GeometryCollection, bool CenterAtOrigin)
 
void FindOpenBoundaries (const FGeometryCollection *GeometryCollection, const float CoincidentVertexTolerance, TArray< TArray< TArray< int32 > > > &BoundaryVertexIndices)
 
void TriangulateBoundaries (FGeometryCollection *GeometryCollection, const TArray< TArray< TArray< int32 > > > &BoundaryVertexIndices, bool bWoundClockwise, float MinTriangleAreaSq)
 
void AddFaces (FGeometryCollection *GeometryCollection, const TArray< TArray< FIntVector > > &AddFaces)
 
void ResizeGeometries (FGeometryCollection *GeometryCollection, const TArray< int32 > &FaceCounts, const TArray< int32 > &VertexCounts, bool bDoValidation)
 
 DEFINE_LOG_CATEGORY_STATIC (LogGeometryCollectionClean, Verbose, All)
 
void ComputeCoincidentVertices (const FGeometryCollection *GeometryCollection, const float Tolerance, TMap< int32, int32 > &CoincidentVerticesMap, TSet< int32 > &VertexToDeleteSet)
 
void DeleteCoincidentVertices (FGeometryCollection *GeometryCollection, float Tolerance)
 
void ComputeZeroAreaFaces (const FGeometryCollection *GeometryCollection, const float Tolerance, TSet< int32 > &FaceToDeleteSet)
 
void DeleteZeroAreaFaces (FGeometryCollection *GeometryCollection, float Tolerance)
 
void ComputeHiddenFaces (const FGeometryCollection *GeometryCollection, TSet< int32 > &FaceToDeleteSet)
 
void DeleteHiddenFaces (FGeometryCollection *GeometryCollection)
 
void ComputeStaleVertices (const FGeometryCollection *GeometryCollection, TSet< int32 > &VertexToDeleteSet)
 
void DeleteStaleVertices (FGeometryCollection *GeometryCollection)
 
void ComputeEdgeInFaces (const FGeometryCollection *GeometryCollection, TMap< FFaceEdge, int32 > &FaceEdgeMap)
 
void PrintStatistics (const FGeometryCollection *GeometryCollection)
 
bool HasValidFacesFor (const FGeometryCollection *GeometryCollection, int32 GeometryIndex)
 
bool HasValidIndicesFor (const FGeometryCollection *GeometryCollection, int32 GeometryIndex)
 
bool HasInvalidIndicesFor (const FGeometryCollection *GeometryCollection, int32 GeometryIndex)
 
bool HasResidualFaces (const FGeometryCollection *GeometryCollection)
 
bool HasResidualIndices (const FGeometryCollection *GeometryCollection)
 
bool HasValidGeometryReferences (const FGeometryCollection *GeometryCollection)
 
TArray< int32ComputeRecursiveOrder (const FManagedArrayCollection &Collection)
 
template<typename MatrixType >
void CHAOS_API GlobalMatrices (const TManagedArray< FTransform > &RelativeTransforms, const TManagedArray< int32 > &Parents, const TManagedArray< FTransform > &UniformScale, TArray< MatrixType > &Transforms)
 
template<typename MatrixType , typename TransformType >
void CHAOS_API GlobalMatrices (const TManagedArray< TransformType > &RelativeTransforms, const TManagedArray< int32 > &Parents, TArray< MatrixType > &Transforms)
 

Typedef Documentation

◆ FIndicesNeedMatricesArray

Function Documentation

◆ AddFaces()

void CHAOS_API GeometryCollectionAlgo::AddFaces ( FGeometryCollection GeometryCollection,
const TArray< TArray< FIntVector > > &  AddFaces 
)

◆ AveragePosition()

FVector CHAOS_API GeometryCollectionAlgo::AveragePosition ( FGeometryCollection Collection,
const TArray< int32 > &  Indices 
)

◆ BuildFaceGroupToGeometryGroupMap()

void CHAOS_API GeometryCollectionAlgo::BuildFaceGroupToGeometryGroupMap ( const FGeometryCollection GeometryCollection,
const TArray< int32 > &  TransformToGeometryMap,
TArray< int32 > &  FaceToGeometry 
)

◆ BuildIncrementMask()

void CHAOS_API GeometryCollectionAlgo::BuildIncrementMask ( const TArray< int32 > &  SortedDeletionList,
const int32 Size,
TArray< int32 > &  Mask 
)

Offset list for re-incrementing deleted elements.

◆ BuildLookupMask()

void CHAOS_API GeometryCollectionAlgo::BuildLookupMask ( const TArray< int32 > &  SortedDeletionList,
const int32 Size,
TArray< bool > &  Mask 
)

◆ BuildTransformGroupToGeometryGroupMap()

void CHAOS_API GeometryCollectionAlgo::BuildTransformGroupToGeometryGroupMap ( const FGeometryCollection GeometryCollection,
TArray< int32 > &  TransformToGeometry 
)

◆ ComputeCoincidentVertices()

void CHAOS_API GeometryCollectionAlgo::ComputeCoincidentVertices ( const FGeometryCollection GeometryCollection,
const float  Tolerance,
TMap< int32, int32 > &  CoincidentVerticesMap,
TSet< int32 > &  VertexToDeleteSet 
)

◆ ComputeEdgeInFaces()

void CHAOS_API GeometryCollectionAlgo::ComputeEdgeInFaces ( const FGeometryCollection GeometryCollection,
TMap< FFaceEdge, int32 > &  FaceEdgeMap 
)

◆ ComputeHiddenFaces()

void CHAOS_API GeometryCollectionAlgo::ComputeHiddenFaces ( const FGeometryCollection GeometryCollection,
TSet< int32 > &  FaceToDeleteSet 
)

◆ ComputeRecursiveOrder()

TArray< int32 > CHAOS_API GeometryCollectionAlgo::ComputeRecursiveOrder ( const FManagedArrayCollection Collection)

◆ ComputeStaleVertices()

void CHAOS_API GeometryCollectionAlgo::ComputeStaleVertices ( const FGeometryCollection GeometryCollection,
TSet< int32 > &  VertexToDeleteSet 
)

◆ ComputeZeroAreaFaces()

void CHAOS_API GeometryCollectionAlgo::ComputeZeroAreaFaces ( const FGeometryCollection GeometryCollection,
const float  Tolerance,
TSet< int32 > &  FaceToDeleteSet 
)

◆ ContiguousArray()

void CHAOS_API GeometryCollectionAlgo::ContiguousArray ( TArray< int32 > &  Array,
int32  Length 
)

Build a contiguous array of integers

◆ DEFINE_LOG_CATEGORY_STATIC()

GeometryCollectionAlgo::DEFINE_LOG_CATEGORY_STATIC ( LogGeometryCollectionClean  ,
Verbose  ,
All   
)

◆ DeleteCoincidentVertices()

void CHAOS_API GeometryCollectionAlgo::DeleteCoincidentVertices ( FGeometryCollection GeometryCollection,
float  Tolerance 
)

◆ DeleteHiddenFaces()

void CHAOS_API GeometryCollectionAlgo::DeleteHiddenFaces ( FGeometryCollection GeometryCollection)

◆ DeleteStaleVertices()

void CHAOS_API GeometryCollectionAlgo::DeleteStaleVertices ( FGeometryCollection GeometryCollection)

◆ DeleteZeroAreaFaces()

void CHAOS_API GeometryCollectionAlgo::DeleteZeroAreaFaces ( FGeometryCollection GeometryCollection,
float  Tolerance 
)

◆ FindOpenBoundaries()

void CHAOS_API GeometryCollectionAlgo::FindOpenBoundaries ( const FGeometryCollection GeometryCollection,
const float  CoincidentVertexTolerance,
TArray< TArray< TArray< int32 > > > &  BoundaryVertexIndices 
)

◆ FloodForOverlappedPairs()

void GeometryCollectionAlgo::FloodForOverlappedPairs ( int  Level,
int32  BoneIndex,
TMap< int32, int32 > &  BoneToGroup,
const TManagedArray< int32 > &  Levels,
const TMap< int32, FBox > &  BoundingBoxes,
TSet< TTuple< int32, int32 > > &  OutOverlappedPairs 
)

◆ GetOverlappedPairs()

void CHAOS_API GeometryCollectionAlgo::GetOverlappedPairs ( FGeometryCollection GeometryCollection,
int  Level,
TSet< TTuple< int32, int32 > > &  OutOverlappedPairs 
)

◆ GlobalMatrices() [1/6]

void CHAOS_API GeometryCollectionAlgo::GlobalMatrices ( const TManagedArray< FTransform > &  RelativeTransforms,
const TManagedArray< int32 > &  Parents,
const TArray< int32 > &  Indices,
TArray< FTransform > &  Transforms 
)

◆ GlobalMatrices() [2/6]

template<typename MatrixType >
void GeometryCollectionAlgo::GlobalMatrices ( const TManagedArray< FTransform > &  RelativeTransforms,
const TManagedArray< int32 > &  Parents,
const TManagedArray< FTransform > &  UniformScale,
TArray< MatrixType > &  OutGlobalTransforms 
)

◆ GlobalMatrices() [3/6]

template<typename MatrixType >
void CHAOS_API GeometryCollectionAlgo::GlobalMatrices ( const TManagedArray< FTransform > &  RelativeTransforms,
const TManagedArray< int32 > &  Parents,
const TManagedArray< FTransform > &  UniformScale,
TArray< MatrixType > &  Transforms 
)

◆ GlobalMatrices() [4/6]

void CHAOS_API GeometryCollectionAlgo::GlobalMatrices ( const TManagedArray< FTransform3f > &  RelativeTransforms,
const TManagedArray< int32 > &  Parents,
const TArray< int32 > &  Indices,
TArray< FTransform3f > &  Transforms 
)

◆ GlobalMatrices() [5/6]

template<typename MatrixType , typename TransformType >
void GeometryCollectionAlgo::GlobalMatrices ( const TManagedArray< TransformType > &  RelativeTransforms,
const TManagedArray< int32 > &  Parents,
TArray< MatrixType > &  OutGlobalTransforms 
)

◆ GlobalMatrices() [6/6]

template<typename MatrixType , typename TransformType >
void CHAOS_API GeometryCollectionAlgo::GlobalMatrices ( const TManagedArray< TransformType > &  RelativeTransforms,
const TManagedArray< int32 > &  Parents,
TArray< MatrixType > &  Transforms 
)

◆ GlobalMatrices< FMatrix >()

◆ GlobalMatrices< FMatrix, FTransform >()

◆ GlobalMatrices< FMatrix, FTransform3f >()

◆ GlobalMatrices< FTransform >()

◆ GlobalMatrices< FTransform, FTransform >()

◆ GlobalMatrices< FTransform, FTransform3f >()

◆ GlobalMatrices< FTransform3f, FTransform >()

◆ GlobalMatrices< FTransform3f, FTransform3f >()

◆ GlobalMatricesFromRoot()

void CHAOS_API GeometryCollectionAlgo::GlobalMatricesFromRoot ( const int32  ParentTransformIndex,
const TManagedArray< FTransform > &  RelativeTransforms,
const TManagedArray< TSet< int32 > > &  Children,
TArray< FMatrix > &  Transforms 
)

◆ GlobalMatricesGetIndicesToProcessHelper() [1/2]

bool GeometryCollectionAlgo::GlobalMatricesGetIndicesToProcessHelper ( const int32  Index,
const FGeometryDynamicCollection DynamicCollection,
int32  ParentNum,
TArray< bool > &  IsTransformComputed,
FIndicesNeedMatricesArray OutToProcess 
)

◆ GlobalMatricesGetIndicesToProcessHelper() [2/2]

bool GeometryCollectionAlgo::GlobalMatricesGetIndicesToProcessHelper ( const int32  Index,
const TManagedArray< int32 > &  Parents,
TArray< bool > &  IsTransformComputed,
FIndicesNeedMatricesArray OutToProcess 
)

◆ GlobalMatricesHelper() [1/3]

template<typename TransformType >
void GeometryCollectionAlgo::GlobalMatricesHelper ( const int32  Index,
const FGeometryDynamicCollection DynamicCollection,
TArray< bool > &  IsTransformComputed,
const TManagedArray< FTransform > *  UniformScale,
TArray< TransformType > &  OutGlobalTransforms 
)

◆ GlobalMatricesHelper() [2/3]

template<typename TransformType >
void GeometryCollectionAlgo::GlobalMatricesHelper ( const int32  Index,
const TManagedArray< int32 > &  Parents,
const TManagedArray< TransformType > &  Transform,
TArray< bool > &  IsTransformComputed,
const TManagedArray< FTransform > *  UniformScale,
TArray< FMatrix > &  OutGlobalTransforms 
)

◆ GlobalMatricesHelper() [3/3]

template<typename TransformType , typename TransformTypeOut >
void GeometryCollectionAlgo::GlobalMatricesHelper ( const int32  Index,
const TManagedArray< int32 > &  Parents,
const TManagedArray< TransformType > &  Transform,
TArray< bool > &  IsTransformComputed,
const TManagedArray< FTransform > *  UniformScale,
TArray< TransformTypeOut > &  OutGlobalTransforms 
)

◆ GlobalMatricesHelperForIndices()

TransnformType GeometryCollectionAlgo::GlobalMatricesHelperForIndices ( const int32  Index,
const TManagedArray< int32 > &  Parents,
const TManagedArray< TransnformType > &  Transform,
TArray< bool > &  IsTransformComputed,
const TManagedArray< TransnformType > *  UniformScale,
TArray< FTransform > &  TransformCache 
)

◆ GlobalMatricesHelperForIndicesDynCol()

FTransform GeometryCollectionAlgo::GlobalMatricesHelperForIndicesDynCol ( const int32  Index,
const FGeometryDynamicCollection DynamicCollection,
TArray< bool > &  IsTransformComputed,
const TManagedArray< FTransform > *  UniformScale,
TArray< FTransform > &  TransformCache 
)

◆ GlobalMatricesTemplate()

template<class TransformType , class TransformTypeOut >
void GeometryCollectionAlgo::GlobalMatricesTemplate ( const TManagedArray< TransformType > &  RelativeTransforms,
const TManagedArray< int32 > &  Parents,
const TArray< int32 > &  Indices,
TArray< TransformTypeOut > &  OutGlobalTransforms 
)

◆ GlobalMatrix() [1/4]

FTransform CHAOS_API GeometryCollectionAlgo::GlobalMatrix ( const TManagedArray< FTransform > &  RelativeTransforms,
const TManagedArray< int32 > &  Parents,
int32  Index 
)

◆ GlobalMatrix() [2/4]

FTransform CHAOS_API GeometryCollectionAlgo::GlobalMatrix ( const TManagedArray< FTransform3f > &  RelativeTransforms,
const TManagedArray< int32 > &  Parents,
int32  Index 
)

◆ GlobalMatrix() [3/4]

FTransform CHAOS_API GeometryCollectionAlgo::GlobalMatrix ( TArrayView< const FTransform RelativeTransforms,
TArrayView< const int32 Parents,
int32  Index 
)

◆ GlobalMatrix() [4/4]

FTransform CHAOS_API GeometryCollectionAlgo::GlobalMatrix ( TArrayView< const FTransform3f RelativeTransforms,
TArrayView< const int32 Parents,
int32  Index 
)

◆ GlobalMatrix3f()

FTransform3f CHAOS_API GeometryCollectionAlgo::GlobalMatrix3f ( const TManagedArray< FTransform3f > &  RelativeTransforms,
const TManagedArray< int32 > &  Parents,
int32  Index 
)

◆ GlobalMatrixTemplate() [1/2]

template<typename TransformType >
TransformType GeometryCollectionAlgo::GlobalMatrixTemplate ( const TManagedArray< TransformType > &  RelativeTransforms,
const TManagedArray< int32 > &  Parents,
int32  Index 
)

◆ GlobalMatrixTemplate() [2/2]

template<typename TransformType >
TransformType GeometryCollectionAlgo::GlobalMatrixTemplate ( TArrayView< const TransformType >  RelativeTransforms,
TArrayView< const int32 Parents,
int32  Index 
)

◆ HasCycle() [1/2]

bool CHAOS_API GeometryCollectionAlgo::HasCycle ( const TManagedArray< int32 > &  Parents,
const TArray< int32 > &  SelectedBones 
)

◆ HasCycle() [2/2]

bool CHAOS_API GeometryCollectionAlgo::HasCycle ( const TManagedArray< int32 > &  Parents,
int32  Node 
)

◆ HasInvalidIndicesFor()

bool CHAOS_API GeometryCollectionAlgo::HasInvalidIndicesFor ( const FGeometryCollection GeometryCollection,
int32  GeometryIndex 
)

◆ HasMultipleRoots()

bool CHAOS_API GeometryCollectionAlgo::HasMultipleRoots ( FGeometryCollection Collection)

◆ HasResidualFaces()

bool CHAOS_API GeometryCollectionAlgo::HasResidualFaces ( const FGeometryCollection GeometryCollection)

◆ HasResidualIndices()

bool CHAOS_API GeometryCollectionAlgo::HasResidualIndices ( const FGeometryCollection GeometryCollection)

◆ HasValidFacesFor()

bool CHAOS_API GeometryCollectionAlgo::HasValidFacesFor ( const FGeometryCollection GeometryCollection,
int32  GeometryIndex 
)

◆ HasValidGeometryReferences()

bool CHAOS_API GeometryCollectionAlgo::HasValidGeometryReferences ( const FGeometryCollection GeometryCollection)

◆ HasValidIndicesFor()

bool CHAOS_API GeometryCollectionAlgo::HasValidIndicesFor ( const FGeometryCollection GeometryCollection,
int32  GeometryIndex 
)

◆ ParentTransform()

void CHAOS_API GeometryCollectionAlgo::ParentTransform ( FManagedArrayCollection ManagedArrayCollection,
const int32  TransformIndex,
const int32  ChildIndex 
)

◆ ParentTransforms()

void CHAOS_API GeometryCollectionAlgo::ParentTransforms ( FManagedArrayCollection ManagedArrayCollection,
const int32  TransformIndex,
const TArray< int32 > &  SelectedBones 
)

◆ PrepareForSimulation()

void CHAOS_API GeometryCollectionAlgo::PrepareForSimulation ( FGeometryCollection GeometryCollection,
bool  CenterAtOrigin 
)

◆ PrintParentHierarchy()

void CHAOS_API GeometryCollectionAlgo::PrintParentHierarchy ( const FGeometryCollection Collection)

◆ PrintParentHierarchyRecursive()

template<typename TransformType >
void GeometryCollectionAlgo::PrintParentHierarchyRecursive ( int32  Index,
const TManagedArray< TransformType > &  Transform,
const TManagedArray< int32 > &  Parent,
const TManagedArray< TSet< int32 > > &  Children,
const TManagedArray< int32 > &  SimulationType,
const TManagedArray< FString > &  BoneName,
int8  Tab = 0 
)

◆ PrintStatistics()

void CHAOS_API GeometryCollectionAlgo::PrintStatistics ( const FGeometryCollection GeometryCollection)

◆ ReCenterGeometryAroundCentreOfMass()

void CHAOS_API GeometryCollectionAlgo::ReCenterGeometryAroundCentreOfMass ( FGeometryCollection GeometryCollection,
bool  CenterAtOrigin 
)

◆ ResizeGeometries()

void CHAOS_API GeometryCollectionAlgo::ResizeGeometries ( FGeometryCollection GeometryCollection,
const TArray< int32 > &  FaceCounts,
const TArray< int32 > &  VertexCounts,
bool  bDoValidation = true 
)

Sets new sizes (face/vertex counts) for each geometry Added vertices and faces contain arbitrary data; other elements remain unchanged

◆ TriangulateBoundaries()

void CHAOS_API GeometryCollectionAlgo::TriangulateBoundaries ( FGeometryCollection GeometryCollection,
const TArray< TArray< TArray< int32 > > > &  BoundaryVertexIndices,
bool  bWoundClockwise,
float  MinTriangleAreaSq 
)

◆ UnparentTransform()

void CHAOS_API GeometryCollectionAlgo::UnparentTransform ( FManagedArrayCollection ManagedArrayCollection,
const int32  ChildIndex 
)

◆ ValidateSortedList()

void CHAOS_API GeometryCollectionAlgo::ValidateSortedList ( const TArray< int32 > &  SortedDeletionList,
const int32 ListSize 
)

Make sure the deletion list is correctly formed.