UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
FSkeletalMeshComponentInstanceData Struct Reference

#include <SkeletalMeshComponentInstanceData.h>

+ Inheritance diagram for FSkeletalMeshComponentInstanceData:

Public Member Functions

 FSkeletalMeshComponentInstanceData ()=default
 
 FSkeletalMeshComponentInstanceData (const USkeletalMeshComponent *SourceComponent)
 
virtual bool ContainsData () const override
 
virtual void ApplyToComponent (UActorComponent *Component, const ECacheApplyPhase CacheApplyPhase) override
 
- Public Member Functions inherited from FSceneComponentInstanceData
ENGINE_API FSceneComponentInstanceData ()
 
ENGINE_API FSceneComponentInstanceData (const USceneComponent *SourceComponent)
 
virtual ENGINE_API ~FSceneComponentInstanceData ()
 
virtual ENGINE_API void FindAndReplaceInstances (const TMap< UObject *, UObject * > &OldToNewInstanceMap) override
 
virtual ENGINE_API void AddReferencedObjects (FReferenceCollector &Collector) override
 
- Public Member Functions inherited from FActorComponentInstanceData
ENGINE_API FActorComponentInstanceData ()
 
ENGINE_API FActorComponentInstanceData (const UActorComponent *SourceComponent)
 
ENGINE_API bool MatchesComponent (const UActorComponent *Component, const UObject *ComponentTemplate) const
 
const UClassGetComponentClass () const
 
const UObjectGetComponentTemplate () const
 
- Public Member Functions inherited from FInstanceCacheDataBase
virtual ENGINE_API ~FInstanceCacheDataBase ()
 
UObjectGetUniqueTransientPackage ()
 
ENGINE_API UObjectGetUniqueTransientObject (UClass *Class)
 
const TArray< FDataCacheDuplicatedObjectData > & GetDuplicatedObjects () const
 
const TArray< TObjectPtr< UObject > > & GetReferencedObjects () const
 
const TArray< uint8 > & GetSavedProperties () const
 

Public Attributes

uint8 bUpdateAnimationInEditor: 1
 
uint8 bUpdateClothInEditor: 1
 
- Public Attributes inherited from FSceneComponentInstanceData
TMap< TObjectPtr< USceneComponent >, FTransformAttachedInstanceComponents
 

Additional Inherited Members

- Protected Attributes inherited from FActorComponentInstanceData
TObjectPtr< const UObjectSourceComponentTemplate
 
EComponentCreationMethod SourceComponentCreationMethod
 
int32 SourceComponentTypeSerializedIndex
 
- Protected Attributes inherited from FInstanceCacheDataBase
TArray< uint8SavedProperties
 

Detailed Description

Saves internal SkeletalMesh (transient) state that gets lost at reconstruction for Blueprint created components.

Constructor & Destructor Documentation

◆ FSkeletalMeshComponentInstanceData() [1/2]

FSkeletalMeshComponentInstanceData::FSkeletalMeshComponentInstanceData ( )
default

◆ FSkeletalMeshComponentInstanceData() [2/2]

FSkeletalMeshComponentInstanceData::FSkeletalMeshComponentInstanceData ( const USkeletalMeshComponent *  SourceComponent)
explicit

Member Function Documentation

◆ ApplyToComponent()

void FSkeletalMeshComponentInstanceData::ApplyToComponent ( UActorComponent Component,
const ECacheApplyPhase  CacheApplyPhase 
)
overridevirtual

Applies this component instance data to the supplied component

Reimplemented from FSceneComponentInstanceData.

◆ ContainsData()

bool FSkeletalMeshComponentInstanceData::ContainsData ( ) const
overridevirtual

Determines if any instance data was actually saved.

Reimplemented from FSceneComponentInstanceData.

Member Data Documentation

◆ bUpdateAnimationInEditor

uint8 FSkeletalMeshComponentInstanceData::bUpdateAnimationInEditor

◆ bUpdateClothInEditor

uint8 FSkeletalMeshComponentInstanceData::bUpdateClothInEditor

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