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 FGeometryCollectionRemoveOnSleepDynamicFacade
Remarks
Provides an API for the run time aspect of the remove on sleep feature this is to be used with the dynamic collection
Constructors
| Type | Name | Description | |
|---|---|---|---|
FGeometryCollectionRemoveOnSleepDynamicFacade
(
FManagedArrayCollection& InCollection |
Functions
| Type | Name | Description | |
|---|---|---|---|
| float | ComputeDecay
(
int32 TransformIndex |
Compute decay from elapsed timer and duration attributes | |
| bool | ComputeSlowMovingState
(
int32 TransformIndex, |
Compute the slow moving state and update from the last position After calling this method, LastPosition will be updated with Position | |
| 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 FVector2D& MaximumSleepTime, |
Add the necessary attributes if they are missing and initialize them if necessary | |
| void | UpdateSleepTimer
(
int32 TransformIndex, |
Update the sleep timer |