![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
#include <TransformableRegistry.h>
Public Types | |
| using | CreateHandleFuncT = TFunction< UTransformableHandle *(UObject *, const FName &)> |
| using | GetHashFuncT = TFunction< uint32(const UObject *, const FName &)> |
Public Member Functions | |
| CONSTRAINTS_API | ~FTransformableRegistry () |
| CONSTRAINTS_API void | Register (UClass *InClass, CreateHandleFuncT InHandleFunc, GetHashFuncT InHashFunc) |
| CONSTRAINTS_API GetHashFuncT | GetHashFunction (const UClass *InClass) const |
| CONSTRAINTS_API CreateHandleFuncT | GetCreateFunction (const UClass *InClass) const |
Static Public Member Functions | |
| static CONSTRAINTS_API FTransformableRegistry & | Get () |
Static Protected Member Functions | |
| static CONSTRAINTS_API void | RegisterBaseObjects () |
| static CONSTRAINTS_API void | UnregisterAllObjects () |
Friends | |
| class | FConstraintsModule |
TransformableRegistry Can be used to register customization transformable handle factory for specific objects.
| using FTransformableRegistry::CreateHandleFuncT = TFunction<UTransformableHandle*(UObject*, const FName&)> |
Defines the function that will allocate a new transformable handle to wrap the object.
| using FTransformableRegistry::GetHashFuncT = TFunction<uint32(const UObject*, const FName&)> |
Defines the function that return a hash value from the object and the attachment name.
|
default |
|
static |
Get registry singleton
| FTransformableRegistry::CreateHandleFuncT FTransformableRegistry::GetCreateFunction | ( | const UClass * | InClass | ) | const |
Get the associated handle creation function for that specific class.
| FTransformableRegistry::GetHashFuncT FTransformableRegistry::GetHashFunction | ( | const UClass * | InClass | ) | const |
Get the associated hash function for that specific class.
| void FTransformableRegistry::Register | ( | UClass * | InClass, |
| CreateHandleFuncT | InHandleFunc, | ||
| GetHashFuncT | InHashFunc | ||
| ) |
Registers a InClass as transformable object.
|
staticprotected |
Registers the basic transformable objects. (called when starting the constraints module).
|
staticprotected |
Registers the basic transformable objects. (called when shutting down the constraints module).
|
friend |