Navigation
API > API/Runtime > API/Runtime/Engine
Global registry of skeleton remappings Remappings are created on-demand when calling GetRemapping. Calling public functions from multiple threads is expected. Data races are guarded by a FRWLock.
| Name | FSkeletonRemappingRegistry |
| Type | class |
| Header File | /Engine/Source/Runtime/Engine/Public/Animation/SkeletonRemappingRegistry.h |
| Include Path | #include "Animation/SkeletonRemappingRegistry.h" |
Syntax
class FSkeletonRemappingRegistry
Typedefs
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| FWeakSkeletonPair | TPair< TWeakObjectPtr< const USkeleton >, TWeakObjectPtr< const USkeleton > > | Animation/SkeletonRemappingRegistry.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| FSkeletonRemappingRegistryPrivate | friend | Animation/SkeletonRemappingRegistry.h | ||
| Mappings | TMap< FWeakSkeletonPair, TSharedPtr< FSkeletonRemapping > > | All mappings. | Animation/SkeletonRemappingRegistry.h | |
| MappingsLock | FTransactionallySafeRWLock | Mappings map is guarded with a RW lock. | Animation/SkeletonRemappingRegistry.h | |
| PerSkeletonMappings | TMultiMap< TWeakObjectPtr< const USkeleton >, TSharedPtr< FSkeletonRemapping > > | Animation/SkeletonRemappingRegistry.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
const FSkeletonRemapping & GetRemapping
(
const USkeleton* InSourceSkeleton, |
Get a mapping between a source and target skeleton, built on demand Remapping is only valid locally to this call and could be free'd later (they are stored as shared ptrs) Do not assume ownership of the mapping after this call. | Animation/SkeletonRemappingRegistry.h | |
void RefreshMappings
(
const USkeleton* InSkeleton |
Refresh any existing mappings that the supplied skeleton is used with. | Animation/SkeletonRemappingRegistry.h |
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static void Destroy() |
Shutdown the global registry. | Animation/SkeletonRemappingRegistry.h | |
static FSkeletonRemappingRegistry & Get() |
Access the global registry. | Animation/SkeletonRemappingRegistry.h | |
static void Init() |
Initialize the global registry. | Animation/SkeletonRemappingRegistry.h |