| 1269 | } |
| 1270 | |
| 1271 | void AnimatedModel::Deserialize(DeserializeStream& stream, ISerializeModifier* modifier) |
| 1272 | { |
| 1273 | // Base |
| 1274 | ModelInstanceActor::Deserialize(stream, modifier); |
| 1275 | |
| 1276 | DESERIALIZE(SkinnedModel); |
| 1277 | DESERIALIZE(AnimationGraph); |
| 1278 | DESERIALIZE(PerBoneMotionBlur); |
| 1279 | DESERIALIZE(UseTimeScale); |
| 1280 | DESERIALIZE(UpdateWhenOffscreen); |
| 1281 | DESERIALIZE(UpdateSpeed); |
| 1282 | DESERIALIZE(UpdateMode); |
| 1283 | DESERIALIZE(BoundsScale); |
| 1284 | DESERIALIZE(CustomBounds); |
| 1285 | DESERIALIZE(LODBias); |
| 1286 | DESERIALIZE(ForcedLOD); |
| 1287 | DESERIALIZE(SortOrder); |
| 1288 | DESERIALIZE(DrawModes); |
| 1289 | PRAGMA_DISABLE_DEPRECATION_WARNINGS |
| 1290 | DESERIALIZE(ShadowsMode); |
| 1291 | PRAGMA_ENABLE_DEPRECATION_WARNINGS |
| 1292 | DESERIALIZE(RootMotionTarget); |
| 1293 | |
| 1294 | Entries.DeserializeIfExists(stream, "Buffer", modifier); |
| 1295 | |
| 1296 | // [Deprecated on 07.02.2022, expires on 07.02.2024] |
| 1297 | if (modifier->EngineBuild <= 6330) |
| 1298 | { |
| 1299 | MARK_CONTENT_DEPRECATED(); |
| 1300 | DrawModes |= DrawPass::GlobalSDF; |
| 1301 | } |
| 1302 | // [Deprecated on 27.04.2022, expires on 27.04.2024] |
| 1303 | if (modifier->EngineBuild <= 6331) |
| 1304 | { |
| 1305 | MARK_CONTENT_DEPRECATED(); |
| 1306 | DrawModes |= DrawPass::GlobalSurfaceAtlas; |
| 1307 | } |
| 1308 | } |
| 1309 | |
| 1310 | const Span<MaterialSlot> AnimatedModel::GetMaterialSlots() const |
| 1311 | { |
nothing calls this directly
no test coverage detected