UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
UE::Anim::FCachedPoseThreadContext Struct Reference
+ Inheritance diagram for UE::Anim::FCachedPoseThreadContext:

Classes

struct  FCachedPose
 
struct  FCachedPoseScopeInternal
 

Public Member Functions

const FCachedPoseAddCachedPose (const FAnimNode_SaveCachedPose *InNode, FCompactPose &InPose, FBlendedCurve &InCurve, UE::Anim::FStackAttributeContainer &InAttributes)
 
const FCachedPoseFindCachedPose (const FAnimNode_SaveCachedPose *InNode) const
 
- Public Member Functions inherited from FTlsAutoCleanup
virtual ~FTlsAutoCleanup ()
 
CORE_API void Register ()
 

Public Attributes

TArray< FCachedPoseScopeInternal, TInlineAllocator< 1 > > Scopes
 

Additional Inherited Members

- Static Public Member Functions inherited from TThreadSingleton< FCachedPoseThreadContext >
static FORCEINLINE FCachedPoseThreadContext & Get ()
 
static FORCEINLINE FCachedPoseThreadContext & Get (TFunctionRef< FTlsAutoCleanup *()> CreateInstance)
 
static FORCEINLINE FCachedPoseThreadContext * TryGet ()
 
static FORCEINLINE FCachedPoseThreadContext * Inject (FCachedPoseThreadContext *Instance)
 
- Protected Member Functions inherited from TThreadSingleton< FCachedPoseThreadContext >
 TThreadSingleton ()
 
virtual ~TThreadSingleton ()
 
- Static Protected Member Functions inherited from TThreadSingleton< FCachedPoseThreadContext >
static FTlsAutoCleanupCreateInstance ()
 
- Protected Attributes inherited from TThreadSingleton< FCachedPoseThreadContext >
const uint32 ThreadId
 

Detailed Description

Holds references to scoped cached poses to ensure lifetime is correct

Member Function Documentation

◆ AddCachedPose()

const FCachedPose & UE::Anim::FCachedPoseThreadContext::AddCachedPose ( const FAnimNode_SaveCachedPose InNode,
FCompactPose InPose,
FBlendedCurve InCurve,
UE::Anim::FStackAttributeContainer InAttributes 
)
inline

Adds a cached pose

◆ FindCachedPose()

const FCachedPose * UE::Anim::FCachedPoseThreadContext::FindCachedPose ( const FAnimNode_SaveCachedPose InNode) const
inline

Finds a cached pose

Member Data Documentation

◆ Scopes

TArray<FCachedPoseScopeInternal, TInlineAllocator<1> > UE::Anim::FCachedPoseThreadContext::Scopes

All cached pose scopes for the current thread


The documentation for this struct was generated from the following file: