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

Method Serialize

Source/Engine/Level/Actors/SplineModel.cpp:486–503  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

484}
485
486void SplineModel::Serialize(SerializeStream& stream, const void* otherObj)
487{
488 // Base
489 ModelInstanceActor::Serialize(stream, otherObj);
490
491 SERIALIZE_GET_OTHER_OBJ(SplineModel);
492
493 SERIALIZE_MEMBER(Quality, _quality);
494 SERIALIZE_MEMBER(BoundsScale, _boundsScale);
495 SERIALIZE_MEMBER(LODBias, _lodBias);
496 SERIALIZE_MEMBER(ForcedLOD, _forcedLod);
497 SERIALIZE_MEMBER(PreTransform, _preTransform)
498 SERIALIZE(Model);
499 SERIALIZE(DrawModes);
500
501 stream.JKEY("Buffer");
502 stream.Object(&Entries, other ? &other->Entries : nullptr);
503}
504
505void SplineModel::Deserialize(DeserializeStream& stream, ISerializeModifier* modifier)
506{

Callers

nothing calls this directly

Calls 2

SerializeFunction · 0.50
ObjectMethod · 0.45

Tested by

no test coverage detected