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

Method ClearLightmaps

Source/Editor/Editor.cs:1336–1345  ·  view source on GitHub ↗

Clears the lightmaps linkage for all open scenes.

()

Source from the content-addressed store, hash-verified

1334 /// Clears the lightmaps linkage for all open scenes.
1335 /// </summary>
1336 public void ClearLightmaps()
1337 {
1338 var scenes = Level.Scenes;
1339 for (int i = 0; i < scenes.Length; i++)
1340 {
1341 scenes[i].ClearLightmaps();
1342 }
1343
1344 Scene.MarkSceneEdited(scenes);
1345 }
1346
1347 /// <summary>
1348 /// Bakes all environmental probes in the scene.

Callers 1

BeforeMethod · 0.45

Calls 1

MarkSceneEditedMethod · 0.45

Tested by

no test coverage detected