![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
#include "SkeletalRender.h"#include "Engine/SkinnedAsset.h"#include "Engine/SkinnedAssetCommon.h"#include "SkeletalRenderPublic.h"#include "PrimitiveDrawingUtils.h"#include "SceneView.h"#include "GPUSkinCache.h"#include "Rendering/SkeletalMeshRenderData.h"#include "Engine/RendererSettings.h"#include "SkinnedMeshSceneProxyDesc.h"#include "SkinningSceneExtensionProxy.h"Namespaces | |
| namespace | UE |
| namespace | UE::SkeletalRender |
| namespace | UE::SkeletalRender::Settings |
Variables | |
| const float | MinMorphTargetBlendWeight = UE_SMALL_NUMBER |
| const float | MaxMorphTargetBlendWeight = 5.0f |
| bool IsSkeletalMeshClothBlendEnabled | ( | ) |
Returns true if the cloth blend weight defined in the SkeletalMeshComponent should be used by skin rendereding.
| 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
| 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 |
| 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
| 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. |
| 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 | ||
| ) |
| const float MaxMorphTargetBlendWeight = 5.0f |
| const float MinMorphTargetBlendWeight = UE_SMALL_NUMBER |