UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
SkeletalRender.h
Go to the documentation of this file.
1// Copyright Epic Games, Inc. All Rights Reserved.
2
3/*=============================================================================
4 SkeletalRender.h: Definitions and inline code for rendering SkeletalMeshComponet
5=============================================================================*/
6
7#pragma once
8
9#include "CoreMinimal.h"
10#include "BoneIndices.h"
11
14class USkinnedAsset;
16
17// smallest blend weight for vertex anims
18extern const float MinMorphTargetBlendWeight;
19// largest blend weight for vertex anims
20UE_DEPRECATED(5.4, "Please, use UE::SkeletalRender::Settings::GetMorphTargetMaxBlendWeight");
21extern const float MaxMorphTargetBlendWeight;
22
23
36
48
50
58static FORCEINLINE VectorRegister Unpack3( const uint32 *PackedNormal )
59{
60 return VectorMultiply(VectorLoadSignedByte4(PackedNormal), VectorSetFloat3(1.0f / 127.0f, 1.0f / 127.0f, 1.0f / 127.0f));
61}
62
71{
72 Normal = VectorMultiply(Normal, VectorSetFloat3(127.0f, 127.0f, 127.0f));
74}
75
77{
78 Normal = VectorMultiply(Normal, VectorSetFloat3(127.0f, 127.0f, 127.0f));
80}
81
89static FORCEINLINE VectorRegister Unpack4( const uint32 *PackedNormal )
90{
92}
93
102{
105}
106
108{
111}
112
#define NULL
Definition oodle2base.h:134
@ Normal
Definition AndroidInputInterface.h:116
#define FORCEINLINE
Definition AndroidPlatform.h:140
#define UE_DEPRECATED(Version, Message)
Definition CoreMiscDefines.h:302
FPlatformTypes::int32 int32
A 32-bit signed integer.
Definition Platform.h:1125
UE_FORCEINLINE_HINT TSharedRef< CastToType, Mode > StaticCastSharedRef(TSharedRef< CastFromType, Mode > const &InSharedRef)
Definition SharedPointer.h:127
ENGINE_API void UpdatePreviousRefToLocalMatrices(TArray< FMatrix44f > &ReferenceToLocal, const FSkinnedMeshSceneProxyDynamicData &InDynamicData, const USkinnedAsset *InSkinnedAsset, const FSkeletalMeshRenderData *InSkeletalMeshRenderData, int32 LODIndex, const TArray< FBoneIndexType > *ExtraRequiredBoneIndices=NULL)
Definition SkeletalRender.cpp:552
const float MaxMorphTargetBlendWeight
Definition SkeletalRender.cpp:26
const float MinMorphTargetBlendWeight
Definition SkeletalRender.cpp:24
ENGINE_API void UpdateRefToLocalMatrices(TArray< FMatrix44f > &ReferenceToLocal, const FSkinnedMeshSceneProxyDynamicData &InDynamicData, const USkinnedAsset *InSkinnedAsset, const FSkeletalMeshRenderData *InSkeletalMeshRenderData, int32 LODIndex, const TArray< FBoneIndexType > *ExtraRequiredBoneIndices=nullptr, TArray< FTransform > *LeaderBoneMappedComponentSpaceTransform=nullptr)
Definition SkeletalRender.cpp:543
ENGINE_API const VectorRegister VECTOR_0001
Definition SkeletalRenderCPUSkin.cpp:678
bool IsSkeletalMeshClothBlendEnabled()
Definition SkeletalRender.cpp:560
FORCEINLINE void VectorStoreSignedByte4(const VectorRegister4Float &Vec, void *Ptr)
Definition UnrealMathFPU.h:1858
FORCEINLINE VectorRegister4Float VectorSetFloat1(float F)
Definition UnrealMathFPU.h:518
FORCEINLINE VectorRegister4Float VectorMultiply(const VectorRegister4Float &Vec1, const VectorRegister4Float &Vec2)
Definition UnrealMathFPU.h:758
#define VectorLoadSignedByte4(Ptr)
Definition UnrealMathFPU.h:1823
FORCEINLINE VectorRegister4Float MakeVectorRegisterFloatFromDouble(const VectorRegister4Double &Vec4d)
Definition UnrealMathFPU.h:262
FORCEINLINE VectorRegister4Float VectorSetFloat3(float X, float Y, float Z)
Definition UnrealMathVectorCommon.h.inl:843
uint32_t uint32
Definition binka_ue_file_header.h:6
Definition SkeletalMeshRenderData.h:17
Definition Array.h:670
Definition SkinnedAsset.h:47
Definition SkinnedMeshComponent.h:258
Definition SkinnedMeshSceneProxyDesc.h:117
Definition UnrealMathFPU.h:42
Definition UnrealMathFPU.h:20