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

#include <SkinWeightProfileManager.h>

+ Inheritance diagram for FSkinWeightProfileManager:

Public Member Functions

 FSkinWeightProfileManager (UWorld *InWorld)
 
void ENGINE_API RequestSkinWeightProfileStack (FSkinWeightProfileStack InProfileStack, USkinnedAsset *SkinnedAsset, UObject *Requester, FRequestFinished &Callback, int32 LODIndex=INDEX_NONE)
 
void CancelSkinWeightProfileRequest (UObject *Requester)
 
void DoTick (float DeltaTime, ENamedThreads::Type CurrentThread, const FGraphEventRef &MyCompletionGraphEvent)
 
virtual bool IsTickableWhenPaused () const override
 
virtual bool IsTickableInEditor () const override
 
virtual void Tick (float DeltaTime) override
 
virtual bool IsTickable () const override
 
virtual TStatId GetStatId () const override
 
- Public Member Functions inherited from FTickableGameObject
 UE_NONCOPYABLE (FTickableGameObject)
 
ENGINE_API FTickableGameObject (ETickableTickType StartingTickType=ETickableTickType::NewObject)
 
virtual ENGINE_API ~FTickableGameObject ()
 
virtual UWorldGetTickableGameObjectWorld () const
 
ENGINE_API void SetTickableTickType (ETickableTickType NewTickType)
 
- Public Member Functions inherited from FTickableObjectBase
virtual ETickableTickType GetTickableTickType () const
 
virtual bool IsAllowedToTick () const
 

Static Public Member Functions

static void OnStartup ()
 
static void OnShutdown ()
 
static ENGINE_API FSkinWeightProfileManagerGet (UWorld *World)
 
static bool AllowCPU ()
 
static bool HandleDelayedLoads ()
 
- Static Public Member Functions inherited from FTickableGameObject
static ENGINE_API void TickObjects (UWorld *World, ELevelTick LevelTickType, bool bIsPaused, float DeltaSeconds)
 

Protected Member Functions

void CleanupRequest (const FSetProfileRequest &Request)
 
bool ShouldIgnoreLOD (const FSkinWeightProfilesData &SkinWeightProfilesData, const USkeletalMesh &SkeletalMesh, int32 NumResidentLODsRequired) const
 
bool ShouldSkipTick () const
 
int32 ConvertLODIndexToCount (const USkeletalMesh &SkeletalMesh, int32 Index) const
 

Static Protected Member Functions

static void OnWorldInit (UWorld *World, const UWorld::InitializationValues IVS)
 
static void OnWorldCleanup (UWorld *World, bool bSessionEnded, bool bCleanupResources)
 
static void OnPreWorldFinishDestroy (UWorld *World)
 
static void OnWorldBeginTearDown (UWorld *World)
 
- Static Protected Member Functions inherited from FTickableObjectBase
static ENGINE_API void SimpleTickObjects (FTickableStatics &Statics, TFunctionRef< void(FTickableObjectBase *)> TickFunc)
 

Protected Attributes

friend FSkinWeightProfileManagerAsyncTask
 
TArray< FSetProfileRequest, TInlineAllocator< 4 > > CanceledRequest
 
TArray< FSetProfileRequestPendingSetProfileRequests
 
TMap< TWeakObjectPtr< USkeletalMesh >, int32PendingMeshes
 
FSkinWeightProfileManagerTickFunction TickFunction
 
int32 LastGamethreadProfileIndex
 
bool WaitingForStreaming = false
 
TWeakObjectPtr< UWorldWeakWorld
 
FGraphEventRef AsyncTask
 

Static Protected Attributes

static TMap< UWorld *, FSkinWeightProfileManager * > WorldManagers
 

Constructor & Destructor Documentation

◆ FSkinWeightProfileManager()

FSkinWeightProfileManager::FSkinWeightProfileManager ( UWorld InWorld)

Member Function Documentation

◆ AllowCPU()

bool FSkinWeightProfileManager::AllowCPU ( )
static

◆ CancelSkinWeightProfileRequest()

void FSkinWeightProfileManager::CancelSkinWeightProfileRequest ( UObject Requester)

◆ CleanupRequest()

void FSkinWeightProfileManager::CleanupRequest ( const FSetProfileRequest Request)
protected

◆ ConvertLODIndexToCount()

int32 FSkinWeightProfileManager::ConvertLODIndexToCount ( const USkeletalMesh SkeletalMesh,
int32  Index 
) const
protected

◆ DoTick()

void FSkinWeightProfileManager::DoTick ( float  DeltaTime,
ENamedThreads::Type  CurrentThread,
const FGraphEventRef MyCompletionGraphEvent 
)

◆ Get()

FSkinWeightProfileManager * FSkinWeightProfileManager::Get ( UWorld World)
static

◆ GetStatId()

TStatId FSkinWeightProfileManager::GetStatId ( ) const
overridevirtual

Return the stat id used to track the performance of this object

Implements FTickableObjectBase.

◆ HandleDelayedLoads()

bool FSkinWeightProfileManager::HandleDelayedLoads ( )
static

◆ IsTickable()

bool FSkinWeightProfileManager::IsTickable ( ) const
overridevirtual

Virtual that can be overloaded by the inheriting class. It is used to determine whether an object should be conditionally ticked.

Returns
true if object is ready to be ticked, false otherwise.

Reimplemented from FTickableObjectBase.

◆ IsTickableInEditor()

bool FSkinWeightProfileManager::IsTickableInEditor ( ) const
overridevirtual

Used to determine whether the object should be ticked in the editor when there is no gameplay world. Objects will still be ticked in Play in Editor if they are associated with a PIE world.

Returns
true if this tickable object should always be ticked in the editor, even if there is no gameplay world

Reimplemented from FTickableGameObject.

◆ IsTickableWhenPaused()

bool FSkinWeightProfileManager::IsTickableWhenPaused ( ) const
overridevirtual

Used to determine if an object should be ticked when the game is paused. Defaults to false, as that mimics old behavior.

Returns
true if it should be ticked when paused, false otherwise

Reimplemented from FTickableGameObject.

◆ OnPreWorldFinishDestroy()

void FSkinWeightProfileManager::OnPreWorldFinishDestroy ( UWorld World)
staticprotected

◆ OnShutdown()

void FSkinWeightProfileManager::OnShutdown ( )
static

◆ OnStartup()

void FSkinWeightProfileManager::OnStartup ( )
static

◆ OnWorldBeginTearDown()

void FSkinWeightProfileManager::OnWorldBeginTearDown ( UWorld World)
staticprotected

◆ OnWorldCleanup()

void FSkinWeightProfileManager::OnWorldCleanup ( UWorld World,
bool  bSessionEnded,
bool  bCleanupResources 
)
staticprotected

◆ OnWorldInit()

void FSkinWeightProfileManager::OnWorldInit ( UWorld World,
const UWorld::InitializationValues  IVS 
)
staticprotected

◆ RequestSkinWeightProfileStack()

void FSkinWeightProfileManager::RequestSkinWeightProfileStack ( FSkinWeightProfileStack  InProfileStack,
USkinnedAsset SkinnedAsset,
UObject Requester,
FRequestFinished Callback,
int32  LODIndex = INDEX_NONE 
)

◆ ShouldIgnoreLOD()

bool FSkinWeightProfileManager::ShouldIgnoreLOD ( const FSkinWeightProfilesData SkinWeightProfilesData,
const USkeletalMesh SkeletalMesh,
int32  NumResidentLODsRequired 
) const
protected

◆ ShouldSkipTick()

bool FSkinWeightProfileManager::ShouldSkipTick ( ) const
protected

◆ Tick()

void FSkinWeightProfileManager::Tick ( float  DeltaTime)
overridevirtual

Pure virtual that must be overloaded by the inheriting class. It will be called at different times in the frame depending on the subclass.

Parameters
DeltaTimeGame time passed since the last call.

Implements FTickableObjectBase.

Member Data Documentation

◆ AsyncTask

FGraphEventRef FSkinWeightProfileManager::AsyncTask
protected

◆ CanceledRequest

TArray<FSetProfileRequest, TInlineAllocator<4> > FSkinWeightProfileManager::CanceledRequest
protected

◆ FSkinWeightProfileManagerAsyncTask

friend FSkinWeightProfileManager::FSkinWeightProfileManagerAsyncTask
protected

◆ LastGamethreadProfileIndex

int32 FSkinWeightProfileManager::LastGamethreadProfileIndex
protected

◆ PendingMeshes

TMap<TWeakObjectPtr<USkeletalMesh>, int32> FSkinWeightProfileManager::PendingMeshes
protected

◆ PendingSetProfileRequests

TArray<FSetProfileRequest> FSkinWeightProfileManager::PendingSetProfileRequests
protected

◆ TickFunction

FSkinWeightProfileManagerTickFunction FSkinWeightProfileManager::TickFunction
protected

◆ WaitingForStreaming

bool FSkinWeightProfileManager::WaitingForStreaming = false
protected

◆ WeakWorld

TWeakObjectPtr<UWorld> FSkinWeightProfileManager::WeakWorld
protected

◆ WorldManagers

TMap< UWorld *, FSkinWeightProfileManager * > FSkinWeightProfileManager::WorldManagers
staticprotected

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