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

Method Serialize

Source/Engine/Level/Actors/BoxBrush.cpp:9–18  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

7#include "Engine/Level/Scene/Scene.h"
8
9void BrushSurface::Serialize(SerializeStream& stream, const void* otherObj)
10{
11 SERIALIZE_GET_OTHER_OBJ(BrushSurface);
12
13 SERIALIZE(Material);
14 SERIALIZE_MEMBER(Offset, TexCoordOffset);
15 SERIALIZE_MEMBER(Scale, TexCoordScale);
16 SERIALIZE_MEMBER(Rotation, TexCoordRotation);
17 SERIALIZE_MEMBER(ScaleInLightmap, ScaleInLightmap);
18}
19
20void BrushSurface::Deserialize(DeserializeStream& stream, ISerializeModifier* modifier)
21{

Callers

nothing calls this directly

Calls 4

SerializeFunction · 0.50
StartArrayMethod · 0.45
ObjectMethod · 0.45
EndArrayMethod · 0.45

Tested by

no test coverage detected