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

Method SaveLightmaps

Source/Engine/Level/Scene/SceneLightmapsData.cpp:72–80  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

70}
71
72void SceneLightmapsData::SaveLightmaps(Array<SavedLightmapInfo>& lightmaps)
73{
74 lightmaps.Resize(_lightmaps.Count(), false);
75
76 for (int32 i = 0; i < _lightmaps.Count(); i++)
77 {
78 _lightmaps[i]->GetInfo(lightmaps[i]);
79 }
80}
81
82void SceneLightmapsData::UpdateLightmapsCollection(int32 count, int32 size)
83{

Callers 1

SerializeMethod · 0.80

Calls 3

ResizeMethod · 0.45
CountMethod · 0.45
GetInfoMethod · 0.45

Tested by

no test coverage detected