BakedLightmapBake Method |
Bakes the lightmap, scanning from the given from_node root and saves the resulting BakedLightmapData in data_save_path. If no save path is provided it will try to match the path from the current LightData.
Namespace: Godot
public BakedLightmapBakeError Bake( Node fromNode = null, string dataSavePath = "" )
[Missing <param name="fromNode"/> documentation for "M:Godot.BakedLightmap.Bake(Godot.Node,System.String)"]
[Missing <param name="dataSavePath"/> documentation for "M:Godot.BakedLightmap.Bake(Godot.Node,System.String)"]
[Missing <returns> documentation for "M:Godot.BakedLightmap.Bake(Godot.Node,System.String)"]