UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
SkeletalRender.cpp File Reference

Namespaces

namespace  UE
 
namespace  UE::SkeletalRender
 
namespace  UE::SkeletalRender::Settings
 

Functions

float UE::SkeletalRender::Settings::GetMorphTargetMaxBlendWeight ()
 
void UpdateRefToLocalMatricesInner (const TArrayView< const FTransform > ComponentTransform, const TArrayView< const uint8 > BoneVisibilityStates, TArray< FMatrix44f > &ReferenceToLocal, const FSkinnedMeshSceneProxyDynamicData &DynamicData, const USkinnedAsset *SkinnedAsset, const FSkeletalMeshRenderData *InSkeletalMeshRenderData, int32 LODIndex, const TArray< FBoneIndexType > *ExtraRequiredBoneIndices, TArray< FTransform > *LeaderBoneMappedComponentSpaceTransform)
 
void UpdateRefToLocalMatrices (TArray< FMatrix44f > &ReferenceToLocal, const FSkinnedMeshSceneProxyDynamicData &InDynamicData, const USkinnedAsset *InSkinnedAsset, const FSkeletalMeshRenderData *InSkeletalMeshRenderData, int32 LODIndex, const TArray< FBoneIndexType > *ExtraRequiredBoneIndices, TArray< FTransform > *LeaderBoneMappedComponentSpaceTransform)
 
void UpdatePreviousRefToLocalMatrices (TArray< FMatrix44f > &ReferenceToLocal, const FSkinnedMeshSceneProxyDynamicData &InDynamicData, const USkinnedAsset *InSkinnedAsset, const FSkeletalMeshRenderData *InSkeletalMeshRenderData, int32 LODIndex, const TArray< FBoneIndexType > *ExtraRequiredBoneIndices)
 
bool IsSkeletalMeshClothBlendEnabled ()
 

Variables

const float MinMorphTargetBlendWeight = UE_SMALL_NUMBER
 
const float MaxMorphTargetBlendWeight = 5.0f
 

Function Documentation

◆ IsSkeletalMeshClothBlendEnabled()

bool IsSkeletalMeshClothBlendEnabled ( )

Returns true if the cloth blend weight defined in the SkeletalMeshComponent should be used by skin rendereding.

◆ UpdatePreviousRefToLocalMatrices()

void UpdatePreviousRefToLocalMatrices ( TArray< FMatrix44f > &  ReferenceToLocal,
const FSkinnedMeshSceneProxyDynamicData InDynamicData,
const USkinnedAsset InSkinnedAsset,
const FSkeletalMeshRenderData InSkeletalMeshRenderData,
int32  LODIndex,
const TArray< FBoneIndexType > *  ExtraRequiredBoneIndices = NULL 
)

Utility function that fills in the array of ref-pose to local-space matrices using the mesh component's updated previous space bases

Parameters
ReferenceToLocal- matrices to update
InDynamicData- mesh primitive with updated bone matrices
InSkinnedAsset- asset used to initialize mesh primitive
InSkeletalMeshRenderData- resource for which to compute RefToLocal matrices
LODIndex- each LOD has its own mapping of bones to update
ExtraRequiredBoneIndices- any extra bones apart from those active in the LOD that we'd like to update

◆ UpdateRefToLocalMatrices()

void UpdateRefToLocalMatrices ( TArray< FMatrix44f > &  ReferenceToLocal,
const FSkinnedMeshSceneProxyDynamicData InDynamicData,
const USkinnedAsset InSkinnedAsset,
const FSkeletalMeshRenderData InSkeletalMeshRenderData,
int32  LODIndex,
const TArray< FBoneIndexType > *  ExtraRequiredBoneIndices,
TArray< FTransform > *  LeaderBoneMappedComponentSpaceTransform 
)

Utility function that fills in the array of ref-pose to local-space matrices using the mesh component's updated space bases

Parameters
ReferenceToLocal- matrices to update
SkeletalMeshComponent- mesh primitive with updated bone matrices
LODIndex- each LOD has its own mapping of bones to update
ExtraRequiredBoneIndices- any extra bones apart from those active in the LOD that we'd like to update
LeaderBoneMappedComponentSpaceTransform- optional output of follower component space transforms.

◆ UpdateRefToLocalMatricesInner()

void UpdateRefToLocalMatricesInner ( const TArrayView< const FTransform ComponentTransform,
const TArrayView< const uint8 BoneVisibilityStates,
TArray< FMatrix44f > &  ReferenceToLocal,
const FSkinnedMeshSceneProxyDynamicData DynamicData,
const USkinnedAsset SkinnedAsset,
const FSkeletalMeshRenderData InSkeletalMeshRenderData,
int32  LODIndex,
const TArray< FBoneIndexType > *  ExtraRequiredBoneIndices,
TArray< FTransform > *  LeaderBoneMappedComponentSpaceTransform 
)

Variable Documentation

◆ MaxMorphTargetBlendWeight

const float MaxMorphTargetBlendWeight = 5.0f

◆ MinMorphTargetBlendWeight

const float MinMorphTargetBlendWeight = UE_SMALL_NUMBER