Navigation
API > API/Runtime > API/Runtime/Constraints
TransformableRegistry Can be used to register customization transformable handle factory for specific objects.
| Name | FTransformableRegistry |
| Type | class |
| Header File | /Engine/Source/Runtime/Experimental/Animation/Constraints/Public/Transform/TransformableRegistry.h |
| Include Path | #include "Transform/TransformableRegistry.h" |
Syntax
class FTransformableRegistry
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FTransformableRegistry() |
Transform/TransformableRegistry.h |
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
~FTransformableRegistry() |
Transform/TransformableRegistry.h |
Structs
| Name | Remarks |
|---|---|
| FTransformableInfo | Per class information that need to be register. |
Typedefs
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| CreateHandleFuncT | TFunction< UTransformableHandle *(UObject *, const FName &)> | Defines the function that will allocate a new transformable handle to wrap the object. | Transform/TransformableRegistry.h |
| GetHashFuncT | TFunction< uint32(const UObject *, const FName &)> | Defines the function that return a hash value from the object and the attachment name. | Transform/TransformableRegistry.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| Transformables | TMap< UClass *, FTransformableInfo > | List of all registered transformable objects. | Transform/TransformableRegistry.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
CreateHandleFuncT GetCreateFunction
(
const UClass* InClass |
Get the associated handle creation function for that specific class. | Transform/TransformableRegistry.h | |
GetHashFuncT GetHashFunction
(
const UClass* InClass |
Get the associated hash function for that specific class. | Transform/TransformableRegistry.h | |
void Register
(
UClass* InClass, |
Registers a InClass as transformable object. | Transform/TransformableRegistry.h |
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static FTransformableRegistry & Get() |
Get registry singleton | Transform/TransformableRegistry.h | |
static void RegisterBaseObjects() |
Registers the basic transformable objects. (called when starting the constraints module). | Transform/TransformableRegistry.h | |
static void UnregisterAllObjects() |
Registers the basic transformable objects. (called when shutting down the constraints module). | Transform/TransformableRegistry.h |