UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
SkeletalMeshLegacyCustomVersions.h
Go to the documentation of this file.
1// Copyright Epic Games, Inc. All Rights Reserved.
2
3#pragma once
4
5#include "CoreMinimal.h"
6#include "Misc/Guid.h"
7
8// Custom serialization version for SkeletalMesh types
10{
11 enum Type
12 {
13 // Before any version changes were made
15 // Remove Chunks array in FStaticLODModel and combine with Sections array
17 // Remove FRigidSkinVertex and combine with FSoftSkinVertex array
19 // Need to recalc max bone influences
21 // Add NumVertices that can be accessed when stripping editor data
23 // Regenerated clothing section shadow flags from source sections
25 // Share color buffer structure with StaticMesh
27 // Use separate buffer for skin weights
29 // Added new clothing systems
31 // Cached inv mass data for clothing assets
33 // Compact cloth vertex buffer, without dummy entries
35 // Remove SourceData
37 // Split data into Model and RenderData
39 // Remove triangle sorting support
41 // Remove the duplicated clothing sections that were a legacy holdover from when we didn't use our own render data
43 // Remove 'Disabled' flag from SkelMesh asset sections
45 // Add Section ignore by reduce
47 // Adding skin weight profile support
49 // Remove uninitialized/deprecated enable cloth LOD flag
51
52 // -----<new versions can be added above this line>-------------------------------------------------
55 };
56
57 // The GUID for this custom version number
58 ENGINE_API const static FGuid GUID;
59
60private:
62};
63
64// Custom serialization version for RecomputeTangent
66{
67 enum Type
68{
69 // Before any version changes were made in the plugin
71 // We serialize the RecomputeTangent Option
73 // Choose which Vertex Color channel to use as mask to blend tangents
75 // -----<new versions can be added above this line>-------------------------------------------------
78 };
79
80 // The GUID for this custom version number
81 const static FGuid GUID;
82
83private:
85};
86
87// custom version for overlapping vertcies code
89{
90 enum Type
91 {
92 // Before any version changes were made in the plugin
94 // Converted to use HierarchicalInstancedStaticMeshComponent
96 // -----<new versions can be added above this line>-------------------------------------------------
99 };
100
101 // The GUID for this custom version number
102 const static FGuid GUID;
103
104private:
106};
UE_FORCEINLINE_HINT TSharedRef< CastToType, Mode > StaticCastSharedRef(TSharedRef< CastFromType, Mode > const &InSharedRef)
Definition SharedPointer.h:127
Definition Guid.h:109
Definition SkeletalMeshLegacyCustomVersions.h:89
Type
Definition SkeletalMeshLegacyCustomVersions.h:91
@ DetectOVerlappingVertices
Definition SkeletalMeshLegacyCustomVersions.h:95
@ LatestVersion
Definition SkeletalMeshLegacyCustomVersions.h:98
@ VersionPlusOne
Definition SkeletalMeshLegacyCustomVersions.h:97
@ BeforeCustomVersionWasAdded
Definition SkeletalMeshLegacyCustomVersions.h:93
static const FGuid GUID
Definition SkeletalMeshLegacyCustomVersions.h:102
Definition SkeletalMeshLegacyCustomVersions.h:66
Type
Definition SkeletalMeshLegacyCustomVersions.h:68
@ BeforeCustomVersionWasAdded
Definition SkeletalMeshLegacyCustomVersions.h:70
@ RecomputeTangentVertexColorMask
Definition SkeletalMeshLegacyCustomVersions.h:74
@ RuntimeRecomputeTangent
Definition SkeletalMeshLegacyCustomVersions.h:72
@ VersionPlusOne
Definition SkeletalMeshLegacyCustomVersions.h:76
@ LatestVersion
Definition SkeletalMeshLegacyCustomVersions.h:77
static const FGuid GUID
Definition SkeletalMeshLegacyCustomVersions.h:81
Definition SkeletalMeshLegacyCustomVersions.h:10
ENGINE_API static const FGuid GUID
Definition SkeletalMeshLegacyCustomVersions.h:58
Type
Definition SkeletalMeshLegacyCustomVersions.h:12
@ SaveNumVertices
Definition SkeletalMeshLegacyCustomVersions.h:22
@ DeprecateSectionDisabledFlag
Definition SkeletalMeshLegacyCustomVersions.h:44
@ RemoveTriangleSorting
Definition SkeletalMeshLegacyCustomVersions.h:40
@ RemoveEnableClothLOD
Definition SkeletalMeshLegacyCustomVersions.h:50
@ BeforeCustomVersionWasAdded
Definition SkeletalMeshLegacyCustomVersions.h:14
@ SplitModelAndRenderData
Definition SkeletalMeshLegacyCustomVersions.h:38
@ RemoveDuplicatedClothingSections
Definition SkeletalMeshLegacyCustomVersions.h:42
@ CombineSectionWithChunk
Definition SkeletalMeshLegacyCustomVersions.h:16
@ RegenerateClothingShadowFlags
Definition SkeletalMeshLegacyCustomVersions.h:24
@ LatestVersion
Definition SkeletalMeshLegacyCustomVersions.h:54
@ VersionPlusOne
Definition SkeletalMeshLegacyCustomVersions.h:53
@ SectionIgnoreByReduceAdded
Definition SkeletalMeshLegacyCustomVersions.h:46
@ CompactClothVertexBuffer
Definition SkeletalMeshLegacyCustomVersions.h:34
@ CombineSoftAndRigidVerts
Definition SkeletalMeshLegacyCustomVersions.h:18
@ CachedClothInverseMasses
Definition SkeletalMeshLegacyCustomVersions.h:32
@ UseSharedColorBufferFormat
Definition SkeletalMeshLegacyCustomVersions.h:26
@ RemoveSourceData
Definition SkeletalMeshLegacyCustomVersions.h:36
@ NewClothingSystemAdded
Definition SkeletalMeshLegacyCustomVersions.h:30
@ RecalcMaxBoneInfluences
Definition SkeletalMeshLegacyCustomVersions.h:20
@ UseSeparateSkinWeightBuffer
Definition SkeletalMeshLegacyCustomVersions.h:28
@ SkinWeightProfiles
Definition SkeletalMeshLegacyCustomVersions.h:48