![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
#include <GeometryCollectionEngineRemoval.h>
Public Member Functions | |
| GEOMETRYCOLLECTIONENGINE_API | FGeometryCollectionRemoveOnBreakDynamicFacade (FGeometryDynamicCollection &InCollection) |
| GEOMETRYCOLLECTIONENGINE_API bool | IsValid () const |
| GEOMETRYCOLLECTIONENGINE_API bool | IsConst () const |
| GEOMETRYCOLLECTIONENGINE_API void | DefineSchema () |
| GEOMETRYCOLLECTIONENGINE_API void | SetAttributeValues (const GeometryCollection::Facades::FCollectionRemoveOnBreakFacade &RemoveOnBreakFacade) |
| GEOMETRYCOLLECTIONENGINE_API bool | IsRemovalActive (int32 TransformIndex) const |
| GEOMETRYCOLLECTIONENGINE_API bool | UseClusterCrumbling (int32 TransformIndex) const |
| GEOMETRYCOLLECTIONENGINE_API float | UpdateBreakTimerAndComputeDecay (int32 TransformIndex, float DeltaTime) |
Static Public Attributes | |
| static constexpr float | DisabledBreakTimer = -1 |
| static constexpr float | BreakTimerStartValue = 0 |
| static constexpr float | DisabledPostBreakDuration = -1 |
| static constexpr float | CrumblingRemovalTimer = -1 |
Provides an API for the run time aspect of the remove on break feature this is to be used with the dynamic collection
| FGeometryCollectionRemoveOnBreakDynamicFacade::FGeometryCollectionRemoveOnBreakDynamicFacade | ( | FGeometryDynamicCollection & | InCollection | ) |
| void FGeometryCollectionRemoveOnBreakDynamicFacade::DefineSchema | ( | ) |
Add the relevant attributes
| bool FGeometryCollectionRemoveOnBreakDynamicFacade::IsConst | ( | ) | const |
Is this facade const access
true if the removal is active for a specific piece
| bool FGeometryCollectionRemoveOnBreakDynamicFacade::IsValid | ( | ) | const |
returns true if all the necessary attributes are present if not then the API can be used to create
| void FGeometryCollectionRemoveOnBreakDynamicFacade::SetAttributeValues | ( | const GeometryCollection::Facades::FCollectionRemoveOnBreakFacade & | RemoveOnBreakFacade | ) |
Add the necessary attributes if they are missing and initialize them if necessary
| RemoveOnBreakFacade | remove on break facade from the rest collection that contain the original user set attributes |
| float FGeometryCollectionRemoveOnBreakDynamicFacade::UpdateBreakTimerAndComputeDecay | ( | int32 | TransformIndex, |
| float | DeltaTime | ||
| ) |
Update break timer and return the matching decay
| TransformIndex | index of the transform to update |
| DeltaTime | elapsed time since the last update in second |
| bool FGeometryCollectionRemoveOnBreakDynamicFacade::UseClusterCrumbling | ( | int32 | TransformIndex | ) | const |
true if a specific transform uses cluster crumbling
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |