UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
PhysicsObjectVersion.h
Go to the documentation of this file.
1// Copyright Epic Games, Inc. All Rights Reserved.
2#pragma once
3
4#include "CoreTypes.h"
5#include "Misc/Guid.h"
6
7// Custom serialization version for changes made in Release-4.26-Chaos
8// Previously used for Dev-Physics stream
10{
11 enum Type
12 {
13 // Before any version changes were made
15 // Adding PerShapeData to serialization
17 // Add serialization from handle back to particle
19 // Groom serialization with hair description as bulk data
21 // Groom serialization with import option
23
24 // TriangleMesh has map from source vertex index to internal vertex index for per-poly collisoin.
26
27 // Chaos Convex StructureData supports different index sizes based on num verts/planes
29
30 // Add the ability to enable or disable Continuous Collision Detection
32
33 // Added the weighted value property type to store the cloths weight maps' low/high ranges
35
36 // Chaos FConvex uses array of FVec3s for vertices instead of particles
38
39 // Add centrifugal forces for cloth
41
42 // Added the Long Range Attachment stiffness weight map
44
45 // Fix corrupted LOD transition maps
47
48 // Convex structure data is now an index-based half-edge structure
50
51 // Convex structure data has a list of unique edges (half of the half edges)
53
54 // Chaos FGeometryCollectionObject user defined collision shapes support
56
57 // Chaos Remove scale from TKinematicTarget object
59
60 // Chaos Added support for per-object collision constraint flag.
62
63 // Expose particle Disabled flag to the game thread
65
66 // Added max linear and angular speed to Chaos bodies
68
69 // add convex geometry to older collections that did not have any
71
72 // -----<new versions can be added above this line>-------------------------------------------------
75 };
76
77 // The GUID for this custom version number
78 CORE_API const static FGuid GUID;
79
80private:
82};
UE_FORCEINLINE_HINT TSharedRef< CastToType, Mode > StaticCastSharedRef(TSharedRef< CastFromType, Mode > const &InSharedRef)
Definition SharedPointer.h:127
Definition Guid.h:109
Definition PhysicsObjectVersion.h:10
Type
Definition PhysicsObjectVersion.h:12
@ AddChaosMaxLinearAngularSpeed
Definition PhysicsObjectVersion.h:67
@ BeforeCustomVersionWasAdded
Definition PhysicsObjectVersion.h:14
@ GroomWithDescription
Definition PhysicsObjectVersion.h:20
@ AddCollisionConstraintFlag
Definition PhysicsObjectVersion.h:61
@ ChaosClothAddfictitiousforces
Definition PhysicsObjectVersion.h:40
@ ChaosKinematicTargetRemoveScale
Definition PhysicsObjectVersion.h:58
@ ChaosClothAddTetherStiffnessWeightMap
Definition PhysicsObjectVersion.h:43
@ TriangleMeshHasVertexIndexMap
Definition PhysicsObjectVersion.h:25
@ GeometryCollectionUserDefinedCollisionShapes
Definition PhysicsObjectVersion.h:55
@ LatestVersion
Definition PhysicsObjectVersion.h:74
@ AddDisabledFlag
Definition PhysicsObjectVersion.h:64
@ SerializeGTGeometryParticles
Definition PhysicsObjectVersion.h:18
@ GeometryCollectionConvexDefaults
Definition PhysicsObjectVersion.h:70
@ ChaosClothAddWeightedValue
Definition PhysicsObjectVersion.h:34
@ ConvexUsesVerticesArray
Definition PhysicsObjectVersion.h:37
@ VariableConvexStructureData
Definition PhysicsObjectVersion.h:28
@ AddCCDEnableFlag
Definition PhysicsObjectVersion.h:31
@ GroomWithImportSettings
Definition PhysicsObjectVersion.h:22
@ VersionPlusOne
Definition PhysicsObjectVersion.h:73
@ ChaosConvexUsesHalfEdges
Definition PhysicsObjectVersion.h:49
@ ChaosConvexHasUniqueEdgeSet
Definition PhysicsObjectVersion.h:52
@ ChaosClothFixLODTransitionMaps
Definition PhysicsObjectVersion.h:46
@ PerShapeData
Definition PhysicsObjectVersion.h:16
CORE_API static const FGuid GUID
Definition PhysicsObjectVersion.h:78