10#include "MorphTarget.generated.h"
88 return Token == InvalidToken;
92 static constexpr uint64 InvalidToken = std::numeric_limits<uint64>::max();
123 if (!RawDeltas.IsEmpty())
125 if (Token < RawDeltas.Num())
127 CurrentDelta = RawDeltas[
static_cast<int32>(Token++)];
148 CompressedDelta =
nullptr;
256 UE_DEPRECATED(5.7,
"Use the TConstArrayView version of GetMorphTargetDelta instead.")
284 ENGINE_API virtual void EmptyMorphLODModels();
288 ENGINE_API virtual const FString& GetCustomImportedSourceFilename(
int32 LODIndex)
const;
310#if WITH_EDITORONLY_DATA
#define UE_DEPRECATED(Version, Message)
Definition CoreMiscDefines.h:302
UE_FORCEINLINE_HINT TSharedRef< CastToType, Mode > StaticCastSharedRef(TSharedRef< CastFromType, Mode > const &InSharedRef)
Definition SharedPointer.h:127
#define UPROPERTY(...)
UObject definition macros.
Definition ObjectMacros.h:744
#define GENERATED_UCLASS_BODY(...)
Definition ObjectMacros.h:768
#define UCLASS(...)
Definition ObjectMacros.h:776
@ VER_UE4_MORPHTARGET_CPU_TANGENTZDELTA_FORMATCHANGE
Definition ObjectVersion.h:386
#define UE_THRESH_POINTS_ARE_NEAR
Definition UnrealMathUtility.h:202
Definition Archive.h:1208
UE_FORCEINLINE_HINT bool IsLoading() const
Definition Archive.h:236
UE_FORCEINLINE_HINT FPackageFileVersion UEVer() const
Definition Archive.h:204
Definition PackedNormal.h:66
Definition MemoryArchive.h:15
Definition MorphTarget.h:62
FMorphTargetDeltaIterator & operator=(const FMorphTargetDeltaIterator &)=default
const FMorphTargetDelta & operator*() const
Definition MorphTarget.h:70
FMorphTargetDeltaIterator & operator++()
Definition MorphTarget.h:80
FMorphTargetDeltaIterator(FMorphTargetDeltaIterator &&)=default
FMorphTargetDeltaIterator()=default
const FMorphTargetDelta * operator->() const
Definition MorphTarget.h:75
FMorphTargetDeltaIterator(const FMorphTargetDeltaIterator &)=default
bool AtEnd() const
Definition MorphTarget.h:86
void Reset(SizeType NewSize=0)
Definition Array.h:2246
Definition UnrealString.h.inl:34
Definition UniquePtr.h:107
Definition MorphTarget.h:230
virtual bool UsesBuiltinMorphTargetCompression() const
Definition MorphTarget.h:296
TArray< FMorphTargetCompressedLODModel > CompressedLODModels
Definition MorphTarget.h:249
TArray< FMorphTargetLODModel > MorphLODModels
Definition MorphTarget.h:247
virtual TArray< FMorphTargetLODModel > & GetMorphLODModels()
Definition MorphTarget.h:243
Definition SkeletalMesh.h:440
Definition StaticMesh.h:593
bool IterativeDecode(uint64 &InOutNextItemToken, TConstArrayView< FDeltaBatchHeader > InBatchHeaders, TConstArrayView< uint32 > InCompressedVertices, const float InPositionPrecision, const float InTangentZPrecision, FMorphTargetDelta &OutMorphTargetDelta)
Definition MorphTargetVertexCodec.cpp:378
Definition MorphTarget.h:52
TArray< uint32 > PackedDeltaData
Definition MorphTarget.h:54
TArray< UE::MorphTargetVertexCodec::FDeltaBatchHeader > PackedDeltaHeaders
Definition MorphTarget.h:53
float PositionPrecision
Definition MorphTarget.h:55
float TangentPrecision
Definition MorphTarget.h:56
Definition MorphTarget.h:17
FVector3f TangentZDelta
Definition MorphTarget.h:22
uint32 SourceIdx
Definition MorphTarget.h:25
friend FArchive & operator<<(FArchive &Ar, FMorphTargetDelta &V)
Definition MorphTarget.h:28
FVector3f PositionDelta
Definition MorphTarget.h:19
Definition MorphTarget.h:165
FMorphTargetLODModel()=default
void Reset()
Definition MorphTarget.h:191
int32 NumVertices
Definition MorphTarget.h:170
bool bGeneratedByEngine
Definition MorphTarget.h:179
friend FArchive & operator<<(FArchive &Ar, FMorphTargetLODModel &M)
Definition MorphTarget.cpp:17
int32 NumBaseMeshVerts
Definition MorphTarget.h:173
TArray< FMorphTargetDelta > Vertices
Definition MorphTarget.h:167
TArray< int32 > SectionIndices
Definition MorphTarget.h:176
FString SourceFilename
Definition MorphTarget.h:184
Definition ObjectPtr.h:488
static CORE_API const TVector< float > ZeroVector
Definition Vector.h:79