46 check(Ar.IsLoading());
78 bool WantsHalfPrecisionUVs;
81 Ar << WantsHalfPrecisionUVs;
90 int32 TextureChannels;
95 Ar << TextureChannels;
98 SectionSerialize(Ar,
false);
106 TArray<FRuntimeMeshCollisionSection_OLD> MeshCollisionSections;
107 Ar << MeshCollisionSections;
108 TArray<FRuntimeConvexCollisionSection_OLD> ConvexCollisionSections;
109 Ar << ConvexCollisionSections;
116 bool bSerializeMeshData;
117 bool bUseComplexAsSimpleCollision;
120 Ar << bSerializeMeshData;
121 Ar << bUseComplexAsSimpleCollision;
130 SerializeRMCSection(Ar,
Index);
135 TArray<FRuntimeMeshCollisionSection_OLD> MeshCollisionSections;
136 Ar << MeshCollisionSections;
137 TArray<FRuntimeConvexCollisionSection_OLD> ConvexCollisionSections;
138 Ar << ConvexCollisionSections;
146 bool bSectionIsValid;
147 Ar << bSectionIsValid;
150 if (!bSectionIsValid)
157 bool bHasSeparatePositionBuffer;
160 Ar << bHasSeparatePositionBuffer;
163 TArray<uint8> SectionData;
171 if (bNeedsPositionOnlyBuffer)
173 TArray<FVector> PositionVertexBuffer;
174 Ar << PositionVertexBuffer;
178 TArray<int32> TessellationIndexBuffer;
179 Ar << TessellationIndexBuffer;
180 FBox LocalBoundingBox;
181 Ar << LocalBoundingBox;
182 bool CollisionEnabled;
183 Ar << CollisionEnabled;
188 bool bShouldUseAdjacencyIndexBuffer;
189 Ar << bShouldUseAdjacencyIndexBuffer;
195 bool bIsLegacySectionType;
196 Ar << bIsLegacySectionType;
202 TArray<FVector> PositionVertexBuffer;
203 Ar << PositionVertexBuffer;
207 FBox LocalBoundingBox;
208 Ar << LocalBoundingBox;
209 bool CollisionEnabled;
210 Ar << CollisionEnabled;
static void SerializeRMCSection(FArchive &Ar, int32 SectionIndex)
static void SerializeV2(FArchive &Ar)
friend FArchive & operator<<(FArchive &Ar, FRuntimeMeshCollisionSection_OLD &Section)
TArray< FVector > VertexBuffer
static const textual_icon check
static bool Serialize(FArchive &Ar)
TArray< int32 > IndexBuffer
TArray< FVector > VertexBuffer
static void SerializeV1(FArchive &Ar)
static void SectionSerialize(FArchive &Ar, bool bNeedsPositionOnlyBuffer)