UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
FTransformableRegistry Class Reference

#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 FTransformableRegistryGet ()
 

Static Protected Member Functions

static CONSTRAINTS_API void RegisterBaseObjects ()
 
static CONSTRAINTS_API void UnregisterAllObjects ()
 

Friends

class FConstraintsModule
 

Detailed Description

TransformableRegistry Can be used to register customization transformable handle factory for specific objects.

Member Typedef Documentation

◆ CreateHandleFuncT

Defines the function that will allocate a new transformable handle to wrap the object.

◆ GetHashFuncT

Defines the function that return a hash value from the object and the attachment name.

Constructor & Destructor Documentation

◆ ~FTransformableRegistry()

FTransformableRegistry::~FTransformableRegistry ( )
default

Member Function Documentation

◆ Get()

FTransformableRegistry & FTransformableRegistry::Get ( )
static

Get registry singleton

◆ GetCreateFunction()

FTransformableRegistry::CreateHandleFuncT FTransformableRegistry::GetCreateFunction ( const UClass InClass) const

Get the associated handle creation function for that specific class.

◆ GetHashFunction()

FTransformableRegistry::GetHashFuncT FTransformableRegistry::GetHashFunction ( const UClass InClass) const

Get the associated hash function for that specific class.

◆ Register()

void FTransformableRegistry::Register ( UClass InClass,
CreateHandleFuncT  InHandleFunc,
GetHashFuncT  InHashFunc 
)

Registers a InClass as transformable object.

◆ RegisterBaseObjects()

void FTransformableRegistry::RegisterBaseObjects ( )
staticprotected

Registers the basic transformable objects. (called when starting the constraints module).

◆ UnregisterAllObjects()

void FTransformableRegistry::UnregisterAllObjects ( )
staticprotected

Registers the basic transformable objects. (called when shutting down the constraints module).

Friends And Related Symbol Documentation

◆ FConstraintsModule

friend class FConstraintsModule
friend

The documentation for this class was generated from the following files: