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

Function Serialize

Source/Engine/Animations/CurveSerialization.h:26–34  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

24 }
25 template<class T>
26 inline void Serialize(ISerializable::SerializeStream& stream, const StepCurveKeyframe<T>& v, const void* otherObj)
27 {
28 stream.StartObject();
29 stream.JKEY("Time");
30 Serialize(stream, v.Time, nullptr);
31 stream.JKEY("Value");
32 Serialize(stream, v.Value, nullptr);
33 stream.EndObject();
34 }
35 template<class T>
36 inline void Deserialize(ISerializable::DeserializeStream& stream, StepCurveKeyframe<T>& v, ISerializeModifier* modifier)
37 {

Callers 1

SerializeMethod · 0.50

Calls 10

StartObjectMethod · 0.45
EndObjectMethod · 0.45
StartArrayMethod · 0.45
GetKeyframesMethod · 0.45
EndArrayMethod · 0.45
IsEmptyMethod · 0.45
WriteInt32Method · 0.45
CountMethod · 0.45
WriteBytesMethod · 0.45
GetMethod · 0.45

Tested by

no test coverage detected