MCPcopy Create free account
hub / github.com/FlaxEngine/FlaxEngine / Serialize

Method Serialize

Source/Engine/Level/Actors/AnimatedModel.cpp:1242–1269  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1240}
1241
1242void AnimatedModel::Serialize(SerializeStream& stream, const void* otherObj)
1243{
1244 // Base
1245 ModelInstanceActor::Serialize(stream, otherObj);
1246
1247 SERIALIZE_GET_OTHER_OBJ(AnimatedModel);
1248
1249 SERIALIZE(SkinnedModel);
1250 SERIALIZE(AnimationGraph);
1251 SERIALIZE(PerBoneMotionBlur);
1252 SERIALIZE(UseTimeScale);
1253 SERIALIZE(UpdateWhenOffscreen);
1254 SERIALIZE(UpdateSpeed);
1255 SERIALIZE(UpdateMode);
1256 SERIALIZE(BoundsScale);
1257 SERIALIZE(CustomBounds);
1258 SERIALIZE(LODBias);
1259 SERIALIZE(ForcedLOD);
1260 SERIALIZE(SortOrder);
1261 SERIALIZE(DrawModes);
1262 PRAGMA_DISABLE_DEPRECATION_WARNINGS
1263 SERIALIZE(ShadowsMode);
1264 PRAGMA_ENABLE_DEPRECATION_WARNINGS
1265 SERIALIZE(RootMotionTarget);
1266
1267 stream.JKEY("Buffer");
1268 stream.Object(&Entries, other ? &other->Entries : nullptr);
1269}
1270
1271void AnimatedModel::Deserialize(DeserializeStream& stream, ISerializeModifier* modifier)
1272{

Callers

nothing calls this directly

Calls 2

SerializeFunction · 0.50
ObjectMethod · 0.45

Tested by

no test coverage detected