Navigation
API > API/Runtime > API/Runtime/GeometryCollectionEngine > API/Runtime/GeometryCollectionEngine/GeometryCollection
References
| Module | GeometryCollectionEngine |
| Header | /Engine/Source/Runtime/Experimental/GeometryCollectionEngine/Public/GeometryCollection/GeometryCollectionEngineRemoval.h |
| Include | #include "GeometryCollection/GeometryCollectionEngineRemoval.h" |
Syntax
class FGeometryCollectionRemoveOnBreakDynamicFacade
Remarks
Provides an API for the run time aspect of the remove on break feature this is to be used with the dynamic collection
Constructors
| Type | Name | Description | |
|---|---|---|---|
FGeometryCollectionRemoveOnBreakDynamicFacade
(
FGeometryDynamicCollection& InCollection |
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | DefineSchema () |
Add the relevant attributes | |
| bool | IsConst () |
Is this facade const access | |
| bool | IsRemovalActive
(
int32 TransformIndex |
True if the removal is active for a specific piece | |
| bool | IsValid () |
Returns true if all the necessary attributes are present if not then the API can be used to create | |
| void | SetAttributeValues
(
const GeometryCollection::Facades::FCollectionRemoveOnBreakFacade& RemoveOnBreakFacade |
Add the necessary attributes if they are missing and initialize them if necessary | |
| float | UpdateBreakTimerAndComputeDecay
(
int32 TransformIndex, |
Update break timer and return the matching decay | |
| bool | UseClusterCrumbling
(
int32 TransformIndex |
True if a specific transform uses cluster crumbling |