![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
#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) |
Stores the updated matrices needed to skin the verts. Created by the game thread and sent to the rendering thread as an update
| 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.
| 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 |
|
virtualdefault |
|
inlinevirtual |
Returns the size of memory allocated by render data
| FMorphTargetWeightMap FDynamicSkelMeshObjectDataCPUSkin::ActiveMorphTargets |
Morphs to blend when skinning verts
| float FDynamicSkelMeshObjectDataCPUSkin::ClothBlendWeight |
a weight factor to blend between simulated positions and skinned positions
| TMap<int32, FClothSimulData> FDynamicSkelMeshObjectDataCPUSkin::ClothSimulUpdateData |
data for updating cloth section
| int32 FDynamicSkelMeshObjectDataCPUSkin::LODIndex |
currently LOD for bones being updated
| TArray<FTransform> FDynamicSkelMeshObjectDataCPUSkin::MeshComponentSpaceTransforms |
component space bone transforms
Morph Weights to blend when skinning verts
| TArray<FMatrix44f> FDynamicSkelMeshObjectDataCPUSkin::ReferenceToLocal |
ref pose to local space transforms
| FMatrix FDynamicSkelMeshObjectDataCPUSkin::WorldToLocal |
Local to world transform, used for cloth as sim data is in world space