Navigation
API > API/Runtime > API/Runtime/Chaos > API/Runtime/Chaos/GeometryCollection > API/Runtime/Chaos/GeometryCollection/Facades
References
| Module | Chaos |
| Header | /Engine/Source/Runtime/Experimental/Chaos/Public/GeometryCollection/Facades/CollectionTransformSourceFacade.h |
| Include | #include "GeometryCollection/Facades/CollectionTransformSourceFacade.h" |
Syntax
class FTransformSource
Remarks
Defines common API for storing owners of a transform hierarchy. For example, to store the component that generated a transform hierirchy, use the function : Key = this->AddTransformSource(
Key = this->AddTransformSource("", GUID, {1,5,7});
The source root indices can be queries later using the name and guid: TSet
The following groups are created on the collection based on which API is called.
- FindAttribute
(FTransformSource::SourceNameAttribute, ); - FindAttribute
(FTransformSource::SourceGuidAttribute, ); - FindAttribute<TSet
>(FTransformSource::SourceRootsAttribute, );
Constructors
| Type | Name | Description | |
|---|---|---|---|
FTransformSource
(
FManagedArrayCollection& InSelf |
FSelectionFacade Constuctor | ||
FTransformSource
(
const FManagedArrayCollection& InSelf |
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | AddTransformSource
(
const FString& Name, |
Add a transform root mapping. | |
| void | DefineSchema () |
Create the facade. | |
| TSet< int32 > | GetTransformSource
(
const FString& Name, |
Query for root indices. | |
| bool | IsConst () |
Is the facade defined constant. | |
| bool | IsValid () |
Is the Facade defined on the collection? |
Constants
| Name | Description |
|---|---|
| SourceGuidAttributeName | |
| SourceNameAttributeName | Attributes. |
| SourceRootsAttributeName | |
| TransformSourceGroupName | Groups |