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/CollectionTransformFacade.h |
| Include | #include "GeometryCollection/Facades/CollectionTransformFacade.h" |
Syntax
class FCollectionTransformFacade
Remarks
Provides an API to read and manipulate hierarchy in a managed array collection
Constructors
| Type | Name | Description | |
|---|---|---|---|
FCollectionTransformFacade
(
FManagedArrayCollection& InCollection |
|||
FCollectionTransformFacade
(
const FManagedArrayCollection& InCollection |
Functions
| Type | Name | Description | |
|---|---|---|---|
| FMatrix | BuildMatrix
(
const FVector& Translate, |
Builds a FMatrix from all the components | |
| FTransform | BuildTransform
(
const FVector& Translate, |
Builds a FTransform from all the components | |
| FTransform | ComputeCollectionSpaceTransform
(
int32 BoneIdx |
Returns the transform for transforming from bone space to collection space for specified bone Vertex(inCollectionSpace) = TransformComputed.TransformPosition(Vertex(inBoneSpace)) | |
| TArray< FTransform > | Returns array of transforms for transforming from bone space to collection space Vertex(inCollectionSpace) = TransformComputed.TransformPosition(Vertex(inBoneSpace)) | ||
| void | DefineSchema () |
Creates the facade attributes. | |
| const TManagedArray< TSet< int32 > > * | FindChildren () |
Returns the child indicesfrom the collection. Null if not initialized. | |
| const TManagedArray< FTransform > * | Returns the child indicesfrom the collection. Null if not initialized. | ||
| const TManagedArray< int32 > * | GetParents () |
Returns the parent indices from the collection. Null if not initialized. | |
| TArray< int32 > | Gets the root index | ||
| bool | IsConst () |
Is the facade defined constant. | |
| bool | IsValid () |
Valid if parent and children arrays are available | |
| void | SetBoneTransformToIdentity
(
int32 BoneIdx |
Sets the selected bone's transform to identity | |
| void | SetPivot
(
const FTransform& InTransform |
Transforms the pivot of a collection | |
| void | Transform
(
const FTransform& InTransform |
Transforms collection | |
| void | Transforms selected bones in the collection |