Navigation
API > API/Runtime > API/Runtime/Chaos
Provides an API for dynamic state related attributes physics state , broken state, current parent (normal or internal clusters ) To be used with the dynamic collection
| Name | FGeometryCollectionDynamicStateFacade |
| Type | class |
| Header File | /Engine/Source/Runtime/Experimental/Chaos/Public/GeometryCollectionProxyData.h |
| Include Path | #include "GeometryCollectionProxyData.h" |
Syntax
class FGeometryCollectionDynamicStateFacade
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FGeometryCollectionDynamicStateFacade
(
FGeometryDynamicCollection& InCollection |
GeometryCollectionProxyData.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| ActiveAttribute | TManagedArrayAccessor< bool > | Active state, true means that the transform is active or broken off from its parent | GeometryCollectionProxyData.h | |
| DynamicCollection | FGeometryDynamicCollection & | GeometryCollectionProxyData.h | ||
| DynamicStateAttribute | TManagedArrayAccessor< uint8 > | Physics state of the transform (Dynamic, kinematic, static, sleeping) | GeometryCollectionProxyData.h | |
| InternalClusterParentTypeAttribute | TManagedArrayAccessor< uint8 > | Type of internal state parent | GeometryCollectionProxyData.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
bool HasBrokenOff
(
int32 TransformIndex |
Return true if the transform has broken off its parent | GeometryCollectionProxyData.h | |
bool HasChildren
(
int32 TransformIndex |
Whether there's children attached to this transform (Cluster) | GeometryCollectionProxyData.h | |
bool HasClusterUnionParent
(
int32 TransformIndex |
Return true if the transform has a cluster union parent. | GeometryCollectionProxyData.h | |
bool HasDynamicInternalClusterParent
(
int32 TransformIndex |
Return true if the transform has an internal cluster parent in a dynamic state | GeometryCollectionProxyData.h | |
bool HasInternalClusterParent
(
int32 TransformIndex |
Return true if the transform has an internal cluster parent | GeometryCollectionProxyData.h | |
bool IsActive
(
int32 TransformIndex |
Return true if the transform is active | GeometryCollectionProxyData.h | |
bool IsDynamicOrSleeping
(
int32 TransformIndex |
Return true if the transform is in a dynamic or sleeping state | GeometryCollectionProxyData.h | |
bool IsSleeping
(
int32 TransformIndex |
Return true if the transform is in a sleeping state | GeometryCollectionProxyData.h | |
bool IsValid() |
Returns true if all the necessary attributes are present | GeometryCollectionProxyData.h |