![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
#include <CollectionTransformFacade.h>
Static Public Member Functions | |
| static CHAOS_API FMatrix | BuildMatrix (const FVector &Translate, const uint8 RotationOrder, const FVector &Rotate, const FVector &Scale, const FVector &Shear, const float UniformScale, const FVector &RotatePivot, const FVector &ScalePivot, const bool InvertTransformation) |
| static CHAOS_API FTransform | BuildTransform (const FVector &Translate, const uint8 RotationOrder, const FVector &Rotate, const FVector &Scale, const float UniformScale, const FVector &RotatePivot, const FVector &ScalePivot, const bool InvertTransformation) |
| static CHAOS_API bool | HasCycle (const TManagedArray< int32 > &Parents, int32 Node) |
| static CHAOS_API bool | HasCycle (const TManagedArray< int32 > &Parents, const TArray< int32 > &SelectedBones) |
Provides an API to read and manipulate hierarchy in a managed array collection
| GeometryCollection::Facades::FCollectionTransformFacade::FCollectionTransformFacade | ( | FManagedArrayCollection & | InCollection | ) |
| GeometryCollection::Facades::FCollectionTransformFacade::FCollectionTransformFacade | ( | const FManagedArrayCollection & | InCollection | ) |
| FString GeometryCollection::Facades::FCollectionTransformFacade::BoneName | ( | int32 | Index | ) | const |
Get a bone name from the index if the facade has the attribute defined.
| TMap< FString, int32 > GeometryCollection::Facades::FCollectionTransformFacade::BoneNameIndexMap | ( | ) | const |
Get a TMap from bone name to bone index if the facade has the attribute defined.
|
static |
Builds a FMatrix from all the components
|
static |
Builds a FTransform from all the components
| FTransform GeometryCollection::Facades::FCollectionTransformFacade::ComputeCollectionSpaceTransform | ( | int32 | BoneIdx | ) | const |
Returns the transform for transforming from bone space to collection space for specified bone Vertex(inCollectionSpace) = TransformComputed.TransformPosition(Vertex(inBoneSpace))
| TArray< FTransform > GeometryCollection::Facades::FCollectionTransformFacade::ComputeCollectionSpaceTransforms | ( | ) | const |
Returns array of transforms for transforming from bone space to collection space Vertex(inCollectionSpace) = TransformComputed.TransformPosition(Vertex(inBoneSpace))
| void GeometryCollection::Facades::FCollectionTransformFacade::ComputeLevelsBounds | ( | float & | LevelsMin, |
| float & | LevelsMax | ||
| ) |
Computes the Min/Max values of the Level attribute
|
inline |
Creates the facade attributes.
| CHAOS_API void GeometryCollection::Facades::FCollectionTransformFacade::EnforceSingleRoot | ( | const FString & | RootName | ) |
Adds a Identity transform and nests all roots under the new transform
|
inline |
Returns the bone names from the collection. Null if not initialized.
|
inline |
Returns the child indicesfrom the collection. Null if not initialized.
|
inline |
Returns the child indicesfrom the collection. Null if not initialized.
|
inline |
Returns the parent indices from the collection. Null if not initialized.
Gets the root index
| FTransform GeometryCollection::Facades::FCollectionTransformFacade::GetRootTransform | ( | ) | const |
Gets the main root transform
| bool GeometryCollection::Facades::FCollectionTransformFacade::HasBoneNameAttribute | ( | ) | const |
Check if the facade has the bone name attribute.
|
static |
Does the transform heirarchy have a cycle
|
static |
Does the transform heirarchy have a cycle
|
inline |
Is the facade defined constant.
| bool GeometryCollection::Facades::FCollectionTransformFacade::IsValid | ( | ) | const |
Valid if parent and children arrays are available
| int32 GeometryCollection::Facades::FCollectionTransformFacade::Num | ( | ) | const |
Get the number of transforms
| void GeometryCollection::Facades::FCollectionTransformFacade::ParentTransform | ( | const int32 | TransformIndex, |
| const int32 | ChildIndex | ||
| ) |
Parent a single transform
| void GeometryCollection::Facades::FCollectionTransformFacade::ParentTransforms | ( | const int32 | TransformIndex, |
| const TArray< int32 > & | SelectedBones | ||
| ) |
Parent the list of transforms to the selected index.
| void GeometryCollection::Facades::FCollectionTransformFacade::SetBoneTransformToIdentity | ( | int32 | BoneIdx | ) |
Sets the selected bone's transform to identity
| void GeometryCollection::Facades::FCollectionTransformFacade::SetPivot | ( | const FTransform & | InTransform | ) |
Transforms the pivot of a collection
| void GeometryCollection::Facades::FCollectionTransformFacade::Transform | ( | const FTransform & | InTransform | ) |
Transforms collection
| void GeometryCollection::Facades::FCollectionTransformFacade::Transform | ( | const FTransform & | InTransform, |
| const TArray< int32 > & | InSelection | ||
| ) |
Transforms selected bones in the collection
| void GeometryCollection::Facades::FCollectionTransformFacade::UnparentTransform | ( | const int32 | ChildIndex | ) |
Unparent the child index from its parent