UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
GeometryCollection::Facades::FCollectionConnectionGraphFacade Class Reference

#include <CollectionConnectionGraphFacade.h>

Public Member Functions

CHAOS_API FCollectionConnectionGraphFacade (FManagedArrayCollection &InCollection)
 
CHAOS_API FCollectionConnectionGraphFacade (const FManagedArrayCollection &InCollection)
 
CHAOS_API bool IsValid () const
 
bool IsConst () const
 
CHAOS_API void DefineSchema ()
 
CHAOS_API void ClearAttributes ()
 
CHAOS_API void ConnectWithContact (int32 BoneA, int32 BoneB, float ContactArea)
 
CHAOS_API void Connect (int32 BoneA, int32 BoneB)
 
CHAOS_API void EnableContactAreas (bool bEnable, float DefaultContactArea=1.0f)
 
CHAOS_API void ReserveAdditionalConnections (int32 NumAdditionalConnections)
 
CHAOS_API TPair< int32, int32GetConnection (int32 ConnectionIndex) const
 
CHAOS_API float GetConnectionContactArea (int32 ConnectionIndex) const
 
CHAOS_API bool HasContactAreas () const
 
CHAOS_API int32 NumConnections () const
 
CHAOS_API bool HasValidConnections () const
 
CHAOS_API void ResetConnections ()
 

Public Attributes

TManagedArrayAccessor< TSet< int32 > > ConnectionsAttribute
 

Protected Attributes

TManagedArrayAccessor< int32ConnectionEdgeStartAttribute
 
TManagedArrayAccessor< int32ConnectionEdgeEndAttribute
 
TManagedArrayAccessor< floatConnectionEdgeContactAttribute
 

Detailed Description

Provides an API for connection-graph related attributes

Constructor & Destructor Documentation

◆ FCollectionConnectionGraphFacade() [1/2]

PRAGMA_DISABLE_DEPRECATION_WARNINGS GeometryCollection::Facades::FCollectionConnectionGraphFacade::FCollectionConnectionGraphFacade ( FManagedArrayCollection InCollection)

◆ FCollectionConnectionGraphFacade() [2/2]

GeometryCollection::Facades::FCollectionConnectionGraphFacade::FCollectionConnectionGraphFacade ( const FManagedArrayCollection InCollection)

Member Function Documentation

◆ ClearAttributes()

void GeometryCollection::Facades::FCollectionConnectionGraphFacade::ClearAttributes ( )

Remove the attributes

◆ Connect()

void GeometryCollection::Facades::FCollectionConnectionGraphFacade::Connect ( int32  BoneA,
int32  BoneB 
)

Connect two bones

◆ ConnectWithContact()

void GeometryCollection::Facades::FCollectionConnectionGraphFacade::ConnectWithContact ( int32  BoneA,
int32  BoneB,
float  ContactArea 
)

Connect two bones

◆ DefineSchema()

void GeometryCollection::Facades::FCollectionConnectionGraphFacade::DefineSchema ( )

Create the facade attributes.

◆ EnableContactAreas()

void GeometryCollection::Facades::FCollectionConnectionGraphFacade::EnableContactAreas ( bool  bEnable,
float  DefaultContactArea = 1.0f 
)

Enable or disable the Contact Area attribute

◆ GetConnection()

TPair< int32, int32 > GeometryCollection::Facades::FCollectionConnectionGraphFacade::GetConnection ( int32  ConnectionIndex) const

◆ GetConnectionContactArea()

float GeometryCollection::Facades::FCollectionConnectionGraphFacade::GetConnectionContactArea ( int32  ConnectionIndex) const

◆ HasContactAreas()

bool GeometryCollection::Facades::FCollectionConnectionGraphFacade::HasContactAreas ( ) const

◆ HasValidConnections()

bool GeometryCollection::Facades::FCollectionConnectionGraphFacade::HasValidConnections ( ) const

◆ IsConst()

bool GeometryCollection::Facades::FCollectionConnectionGraphFacade::IsConst ( ) const
inline

Is the facade defined constant.

◆ IsValid()

PRAGMA_ENABLE_DEPRECATION_WARNINGS bool GeometryCollection::Facades::FCollectionConnectionGraphFacade::IsValid ( ) const

Does the collection support the facade.

◆ NumConnections()

int32 GeometryCollection::Facades::FCollectionConnectionGraphFacade::NumConnections ( ) const

◆ ReserveAdditionalConnections()

void GeometryCollection::Facades::FCollectionConnectionGraphFacade::ReserveAdditionalConnections ( int32  NumAdditionalConnections)

Reserve space for a number of additional connections

◆ ResetConnections()

void GeometryCollection::Facades::FCollectionConnectionGraphFacade::ResetConnections ( )

Member Data Documentation

◆ ConnectionEdgeContactAttribute

TManagedArrayAccessor<float> GeometryCollection::Facades::FCollectionConnectionGraphFacade::ConnectionEdgeContactAttribute
protected

◆ ConnectionEdgeEndAttribute

TManagedArrayAccessor<int32> GeometryCollection::Facades::FCollectionConnectionGraphFacade::ConnectionEdgeEndAttribute
protected

◆ ConnectionEdgeStartAttribute

TManagedArrayAccessor<int32> GeometryCollection::Facades::FCollectionConnectionGraphFacade::ConnectionEdgeStartAttribute
protected

◆ ConnectionsAttribute

TManagedArrayAccessor<TSet<int32> > GeometryCollection::Facades::FCollectionConnectionGraphFacade::ConnectionsAttribute

Connections between bones that have the same parent in the hierarchy


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