Navigation
API > API/Runtime > API/Runtime/Chaos
Provides an API to define anchoring properties on a collection
| Name | FCollectionAnchoringFacade |
| Type | class |
| Header File | /Engine/Source/Runtime/Experimental/Chaos/Public/GeometryCollection/Facades/CollectionAnchoringFacade.h |
| Include Path | #include "GeometryCollection/Facades/CollectionAnchoringFacade.h" |
Syntax
class FCollectionAnchoringFacade
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FCollectionAnchoringFacade
(
FManagedArrayCollection& InCollection |
GeometryCollection/Facades/CollectionAnchoringFacade.h | ||
FCollectionAnchoringFacade
(
const FManagedArrayCollection& InCollection |
GeometryCollection/Facades/CollectionAnchoringFacade.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| AnchoredAttribute | TManagedArrayAccessor< bool > | Whether a transform is anchored ( orthogonal to the initial dynamic ) ) | GeometryCollection/Facades/CollectionAnchoringFacade.h | |
| InitialDynamicStateAttribute | TManagedArrayAccessor< int32 > | Initial dynamic state of a transform ( can be changed at runtime ) | GeometryCollection/Facades/CollectionAnchoringFacade.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void AddAnchoredAttribute() |
GeometryCollection/Facades/CollectionAnchoringFacade.h | ||
void CopyAnchoredAttribute
(
const FCollectionAnchoringFacade& Other |
GeometryCollection/Facades/CollectionAnchoringFacade.h | ||
void DefineSchema() |
Create the facade attributes. | GeometryCollection/Facades/CollectionAnchoringFacade.h | |
EObjectStateType GetInitialDynamicState
(
int32 TransformIndex |
GeometryCollection/Facades/CollectionAnchoringFacade.h | ||
bool HasAnchoredAttribute() |
GeometryCollection/Facades/CollectionAnchoringFacade.h | ||
bool HasInitialDynamicStateAttribute() |
Facade Functionality | GeometryCollection/Facades/CollectionAnchoringFacade.h | |
bool IsAnchored
(
int32 TransformIndex |
GeometryCollection/Facades/CollectionAnchoringFacade.h | ||
bool IsConst() |
Is the facade defined from a constant collection. | GeometryCollection/Facades/CollectionAnchoringFacade.h | |
bool IsValid() |
Valid if all accessors arrays are available | GeometryCollection/Facades/CollectionAnchoringFacade.h | |
void SetAnchored
(
int32 TransformIndex, |
GeometryCollection/Facades/CollectionAnchoringFacade.h | ||
void SetAnchored
(
const TArray< int32 >& TransformIndices, |
GeometryCollection/Facades/CollectionAnchoringFacade.h | ||
void SetInitialDynamicState
(
int32 TransformIndex, |
GeometryCollection/Facades/CollectionAnchoringFacade.h | ||
void SetInitialDynamicState
(
const TArray< int32 >& TransformIndices, |
GeometryCollection/Facades/CollectionAnchoringFacade.h |