Navigation
API > API/Runtime > API/Runtime/Chaos > API/Runtime/Chaos/GeometryCollection > API/Runtime/Chaos/GeometryCollection/Facades
References
| Module | Chaos |
| Header | /Engine/Source/Runtime/Experimental/Chaos/Public/GeometryCollection/Facades/CollectionConnectionGraphFacade.h |
| Include | #include "GeometryCollection/Facades/CollectionConnectionGraphFacade.h" |
Syntax
class FCollectionConnectionGraphFacade
Remarks
Provides an API for connection-graph related attributes
Variables
| Type | Name | Description | |
|---|---|---|---|
| TManagedArrayAccessor< float > | ConnectionEdgeContactAttribute | ||
| TManagedArrayAccessor< int32 > | ConnectionEdgeEndAttribute | ||
| TManagedArrayAccessor< int32 > | ConnectionEdgeStartAttribute |
Constructors
| Type | Name | Description | |
|---|---|---|---|
FCollectionConnectionGraphFacade
(
FManagedArrayCollection& InCollection |
|||
FCollectionConnectionGraphFacade
(
const FManagedArrayCollection& InCollection |
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | Remove the attributes | ||
| void | Connect
(
int32 BoneA, |
Connect two bones | |
| void | ConnectWithContact
(
int32 BoneA, |
Connect two bones | |
| void | DefineSchema () |
Create the facade attributes. | |
| void | EnableContactAreas
(
bool bEnable, |
Enable or disable the Contact Area attribute | |
| TPair< int32, int32 > | GetConnection
(
int32 ConnectionIndex |
Get the transform indices for the ConnectionIndex. | |
| float | GetConnectionContactArea
(
int32 ConnectionIndex |
Get the contact area for the ConnectionIndex. | |
| bool | |||
| bool | Verifies the connections indices are valid indices into the Collection's Transform group. | ||
| bool | IsConst () |
Is the facade defined constant. | |
| bool | IsValid () |
Does the collection support the facade. | |
| int32 | Number of connection edges. | ||
| void | ReserveAdditionalConnections
(
int32 NumAdditionalConnections |
Reserve space for a number of additional connections | |
| void | Remove all edge connections, but keep the connection attributes. |
Deprecated Variables
| Type | Name | Description | |
|---|---|---|---|
| TManagedArrayAccessor< TSet< int32 > > | ConnectionsAttribute | We have switched to an edge array connection representation. Please use the accessor functions (GetConnection, NumConnections, etc) to access the arrays of edge data. |