Navigation
API > API/Runtime > API/Runtime/Chaos
Provides an API for connection-graph related attributes
| Name | FCollectionConnectionGraphFacade |
| Type | class |
| Header File | /Engine/Source/Runtime/Experimental/Chaos/Public/GeometryCollection/Facades/CollectionConnectionGraphFacade.h |
| Include Path | #include "GeometryCollection/Facades/CollectionConnectionGraphFacade.h" |
Syntax
class FCollectionConnectionGraphFacade
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FCollectionConnectionGraphFacade
(
FManagedArrayCollection& InCollection |
GeometryCollection/Facades/CollectionConnectionGraphFacade.h | ||
FCollectionConnectionGraphFacade
(
const FManagedArrayCollection& InCollection |
GeometryCollection/Facades/CollectionConnectionGraphFacade.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| ConnectionsAttribute | TManagedArrayAccessor< TSet< int32 > > | Connections between bones that have the same parent in the hierarchy | GeometryCollection/Facades/CollectionConnectionGraphFacade.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void ClearAttributes() |
Remove the attributes | GeometryCollection/Facades/CollectionConnectionGraphFacade.h | |
void Connect
(
int32 BoneA, |
Connect two bones | GeometryCollection/Facades/CollectionConnectionGraphFacade.h | |
void ConnectWithContact
(
int32 BoneA, |
Connect two bones | GeometryCollection/Facades/CollectionConnectionGraphFacade.h | |
void DefineSchema() |
Create the facade attributes. | GeometryCollection/Facades/CollectionConnectionGraphFacade.h | |
void EnableContactAreas
(
bool bEnable, |
Enable or disable the Contact Area attribute | GeometryCollection/Facades/CollectionConnectionGraphFacade.h | |
TPair< int32, int32 > GetConnection
(
int32 ConnectionIndex |
Get the transform indices for the ConnectionIndex. | GeometryCollection/Facades/CollectionConnectionGraphFacade.h | |
float GetConnectionContactArea
(
int32 ConnectionIndex |
Get the contact area for the ConnectionIndex. | GeometryCollection/Facades/CollectionConnectionGraphFacade.h | |
bool HasContactAreas() |
GeometryCollection/Facades/CollectionConnectionGraphFacade.h | ||
bool HasValidConnections() |
Verifies the connections indices are valid indices into the Collection's Transform group. | GeometryCollection/Facades/CollectionConnectionGraphFacade.h | |
bool IsConst() |
Is the facade defined constant. | GeometryCollection/Facades/CollectionConnectionGraphFacade.h | |
bool IsValid() |
Does the collection support the facade. | GeometryCollection/Facades/CollectionConnectionGraphFacade.h | |
int32 NumConnections() |
Number of connection edges. | GeometryCollection/Facades/CollectionConnectionGraphFacade.h | |
void ReserveAdditionalConnections
(
int32 NumAdditionalConnections |
Reserve space for a number of additional connections | GeometryCollection/Facades/CollectionConnectionGraphFacade.h | |
void ResetConnections() |
Remove all edge connections, but keep the connection attributes. | GeometryCollection/Facades/CollectionConnectionGraphFacade.h |