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

Method Serialize

Source/Engine/Level/Scene/Scene.cpp:292–307  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

290#endif
291
292void Scene::Serialize(SerializeStream& stream, const void* otherObj)
293{
294 // Base
295 Actor::Serialize(stream, otherObj);
296
297 SERIALIZE_GET_OTHER_OBJ(Scene);
298
299 LightmapsData.SaveLightmaps(Info.Lightmaps);
300 Info.Serialize(stream, other ? &other->Info : nullptr);
301
302 if (CSGData.HasData())
303 {
304 stream.JKEY("CSG");
305 stream.Object(&CSGData, other ? &other->CSGData : nullptr);
306 }
307}
308
309void Scene::Deserialize(DeserializeStream& stream, ISerializeModifier* modifier)
310{

Callers

nothing calls this directly

Calls 4

SaveLightmapsMethod · 0.80
SerializeFunction · 0.50
HasDataMethod · 0.45
ObjectMethod · 0.45

Tested by

no test coverage detected