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

Namespaces

namespace  Facades
 
namespace  SizeSpecific
 
namespace  UV
 

Enumerations

enum class  ESelectionMode : uint8 {
  None = 0 , AllGeometry , InverseGeometry , Siblings ,
  Neighbors , Parent , Children , Level ,
  Leaves , Clusters
}
 
enum class  EEditUpdate : uint8 {
  None = 0 , Rest = 1 << 0 , Physics = 1 << 1 , Dynamic = 1 << 2 ,
  RestPhysics = Rest | Physics , RestPhysicsDynamic = Rest | Physics | Dynamic
}
 

Functions

TSharedPtr< FGeometryCollectionMakeCubeElement (const FTransform &center, FVector Scale, int NumberOfMaterials)
 
void SetupCubeGridExample (TSharedPtr< FGeometryCollection > RestCollectionIn)
 
void SetupTwoClusteredCubesCollection (FGeometryCollection *Collection)
 
void SetupNestedBoneCollection (FGeometryCollection *Collection)
 
void ComputeInnerAndOuterRadiiFromGeometryVertices (const TManagedArray< FVector3f > &Vertices, const int32 VertexStart, const int32 VertexCount, float &OutInnerRadius, float &OutOuterRadius)
 
void AddGeometryProperties (FManagedArrayCollection *InCollection)
 
void MakeMaterialsContiguous (FGeometryCollection *Collection)
 
void GenerateTemporaryGuids (FManagedArrayCollection *Collection, int32 StartIdx, bool bForceInit)
 
template<class TV3_PTS , class TV3_NORM , class TV2 , class TV_INT3 >
TSharedPtr< FGeometryCollectionMakeMeshElement (const TArray< TV3_PTS > &PointsIn, const TArray< TV3_NORM > &NormalsIn, const TArray< TV_INT3 > &TrianglesIn, const TArray< TV2 > &UVsIn, const FTransform &Xf, const FTransform &GeoXf=FTransform::Identity, const int NumberOfMaterials=2)
 
template<class T >
void AttributeTransfer (const FGeometryCollection *FromCollection, FGeometryCollection *ToCollection, const FName FromAttributeName, const FName ToAttributeName)
 
 ENUM_CLASS_FLAGS (EEditUpdate)
 

Enumeration Type Documentation

◆ EEditUpdate

Type of updates used at the end of an edit operation.

Enumerator
None 

No update.

Rest 

Mark the rest collection as changed.

Physics 

Recreate the physics state (proxy).

Dynamic 

Reset the dynamic collection.

RestPhysics 

Mark the rest collection as changed, and recreate the physics state (proxy).

RestPhysicsDynamic 

Reset dynamic collection, mark the rest collection as changed, and recreate the physics state (proxy).

◆ ESelectionMode

Enumerator
None 
AllGeometry 
InverseGeometry 
Siblings 
Neighbors 
Parent 
Children 
Level 
Leaves 
Clusters 

Function Documentation

◆ AddGeometryProperties()

void CHAOS_API GeometryCollection::AddGeometryProperties ( FManagedArrayCollection InCollection)

◆ AttributeTransfer()

template<class T >
void GeometryCollection::AttributeTransfer ( const FGeometryCollection FromCollection,
FGeometryCollection ToCollection,
const FName  FromAttributeName,
const FName  ToAttributeName 
)

◆ ComputeInnerAndOuterRadiiFromGeometryVertices()

void CHAOS_API GeometryCollection::ComputeInnerAndOuterRadiiFromGeometryVertices ( const TManagedArray< FVector3f > &  Vertices,
const int32  VertexStart,
const int32  VertexCount,
float OutInnerRadius,
float OutOuterRadius 
)

◆ ENUM_CLASS_FLAGS()

GeometryCollection::ENUM_CLASS_FLAGS ( EEditUpdate  )

◆ GenerateTemporaryGuids()

void CHAOS_API GeometryCollection::GenerateTemporaryGuids ( FManagedArrayCollection Collection,
int32  StartIdx,
bool  bForceInit 
)

◆ MakeCubeElement()

TSharedPtr< FGeometryCollection > CHAOS_API GeometryCollection::MakeCubeElement ( const FTransform center,
FVector  Scale,
int  NumberOfMaterials 
)

◆ MakeMaterialsContiguous()

void CHAOS_API GeometryCollection::MakeMaterialsContiguous ( FGeometryCollection Collection)

◆ MakeMeshElement()

template<class TV3_PTS , class TV3_NORM , class TV2 , class TV_INT3 >
TSharedPtr< FGeometryCollection > GeometryCollection::MakeMeshElement ( const TArray< TV3_PTS > &  PointsIn,
const TArray< TV3_NORM > &  NormalsIn,
const TArray< TV_INT3 > &  TrianglesIn,
const TArray< TV2 > &  UVsIn,
const FTransform Xf,
const FTransform GeoXf = FTransform::Identity,
const int  NumberOfMaterials = 2 
)

◆ SetupCubeGridExample()

void CHAOS_API GeometryCollection::SetupCubeGridExample ( TSharedPtr< FGeometryCollection RestCollectionIn)

◆ SetupNestedBoneCollection()

void CHAOS_API GeometryCollection::SetupNestedBoneCollection ( FGeometryCollection Collection)

◆ SetupTwoClusteredCubesCollection()

void CHAOS_API GeometryCollection::SetupTwoClusteredCubesCollection ( FGeometryCollection Collection)