Navigation
API > API/Runtime > API/Runtime/Chaos
Provide an API to set and get removal on break data on a collection
| Name | FCollectionRemoveOnBreakFacade |
| Type | class |
| Header File | /Engine/Source/Runtime/Experimental/Chaos/Public/GeometryCollection/Facades/CollectionRemoveOnBreakFacade.h |
| Include Path | #include "GeometryCollection/Facades/CollectionRemoveOnBreakFacade.h" |
Syntax
class FCollectionRemoveOnBreakFacade
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FCollectionRemoveOnBreakFacade
(
FManagedArrayCollection& InCollection |
GeometryCollection/Facades/CollectionRemoveOnBreakFacade.h | ||
FCollectionRemoveOnBreakFacade
(
const FManagedArrayCollection& InCollection |
GeometryCollection/Facades/CollectionRemoveOnBreakFacade.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| RemoveOnBreakAttribute | TManagedArrayAccessor< FVector4f > | GeometryCollection/Facades/CollectionRemoveOnBreakFacade.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void DefineSchema() |
Create the facade attributes. | GeometryCollection/Facades/CollectionRemoveOnBreakFacade.h | |
const FRemoveOnBreakData GetData
(
int32 Index |
Get a specific value by index | GeometryCollection/Facades/CollectionRemoveOnBreakFacade.h | |
bool IsConst() |
Is this facade const access | GeometryCollection/Facades/CollectionRemoveOnBreakFacade.h | |
bool IsValid() |
Valid if related attributes are available | GeometryCollection/Facades/CollectionRemoveOnBreakFacade.h | |
void RemoveSchema() |
Remove the facade attributes | GeometryCollection/Facades/CollectionRemoveOnBreakFacade.h | |
void SetFromIndexArray
(
const TArray< int32 >& Indices, |
Set a specific value to a array of transforms | GeometryCollection/Facades/CollectionRemoveOnBreakFacade.h | |
void SetToAll
(
const FRemoveOnBreakData& Data |
Set a specific value to all transforms | GeometryCollection/Facades/CollectionRemoveOnBreakFacade.h |