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

#include <SkeletalRenderCPUSkin.h>

Public Member Functions

ENGINE_API FDynamicSkelMeshObjectDataCPUSkin (const FSkinnedMeshSceneProxyDynamicData &InDynamicData, const USkinnedAsset *InSkinnedAsset, FSkeletalMeshRenderData *InSkelMeshRenderData, int32 InLODIndex, const FMorphTargetWeightMap &InActiveMorphTargets, const TArrayView< const float > &InMorphTargetWeights)
 
virtual ENGINE_API ~FDynamicSkelMeshObjectDataCPUSkin ()
 
virtual void GetResourceSizeEx (FResourceSizeEx &CumulativeResourceSize)
 

Public Attributes

FMatrix WorldToLocal
 
TArray< FMatrix44fReferenceToLocal
 
TArray< FTransformMeshComponentSpaceTransforms
 
int32 LODIndex
 
FMorphTargetWeightMap ActiveMorphTargets
 
TArray< floatMorphTargetWeights
 
TMap< int32, FClothSimulDataClothSimulUpdateData
 
float ClothBlendWeight
 

Detailed Description

Stores the updated matrices needed to skin the verts. Created by the game thread and sent to the rendering thread as an update

Constructor & Destructor Documentation

◆ FDynamicSkelMeshObjectDataCPUSkin()

FDynamicSkelMeshObjectDataCPUSkin::FDynamicSkelMeshObjectDataCPUSkin ( const FSkinnedMeshSceneProxyDynamicData InDynamicData,
const USkinnedAsset InSkinnedAsset,
FSkeletalMeshRenderData InSkelMeshRenderData,
int32  InLODIndex,
const FMorphTargetWeightMap InActiveMorphTargets,
const TArrayView< const float > &  InMorphTargetWeights 
)

Constructor Updates the ReferenceToLocal matrices using the new dynamic data.

Parameters
InSkelMeshComponent- parent skel mesh component
InLODIndex- each lod has its own bone map
InActiveMorphTargets- Active Morph Targets to blend with during skinning
InMorphTargetWeights- All Morph Target weights to blend with during skinning

◆ ~FDynamicSkelMeshObjectDataCPUSkin()

FDynamicSkelMeshObjectDataCPUSkin::~FDynamicSkelMeshObjectDataCPUSkin ( )
virtualdefault

Member Function Documentation

◆ GetResourceSizeEx()

virtual void FDynamicSkelMeshObjectDataCPUSkin::GetResourceSizeEx ( FResourceSizeEx CumulativeResourceSize)
inlinevirtual

Returns the size of memory allocated by render data

Member Data Documentation

◆ ActiveMorphTargets

FMorphTargetWeightMap FDynamicSkelMeshObjectDataCPUSkin::ActiveMorphTargets

Morphs to blend when skinning verts

◆ ClothBlendWeight

float FDynamicSkelMeshObjectDataCPUSkin::ClothBlendWeight

a weight factor to blend between simulated positions and skinned positions

◆ ClothSimulUpdateData

TMap<int32, FClothSimulData> FDynamicSkelMeshObjectDataCPUSkin::ClothSimulUpdateData

data for updating cloth section

◆ LODIndex

int32 FDynamicSkelMeshObjectDataCPUSkin::LODIndex

currently LOD for bones being updated

◆ MeshComponentSpaceTransforms

TArray<FTransform> FDynamicSkelMeshObjectDataCPUSkin::MeshComponentSpaceTransforms

component space bone transforms

◆ MorphTargetWeights

TArray<float> FDynamicSkelMeshObjectDataCPUSkin::MorphTargetWeights

Morph Weights to blend when skinning verts

◆ ReferenceToLocal

TArray<FMatrix44f> FDynamicSkelMeshObjectDataCPUSkin::ReferenceToLocal

ref pose to local space transforms

◆ WorldToLocal

FMatrix FDynamicSkelMeshObjectDataCPUSkin::WorldToLocal

Local to world transform, used for cloth as sim data is in world space


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