Click or drag to resize

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
Assembly:  GodotSharp (in GodotSharp.dll) Version: 1.0.0
Syntax
C#
public BakedLightmapBakeError Bake(
	Node fromNode = null,
	string dataSavePath = ""
)

Parameters

fromNode (Optional)
Type: GodotNode

[Missing <param name="fromNode"/> documentation for "M:Godot.BakedLightmap.Bake(Godot.Node,System.String)"]

dataSavePath (Optional)
Type: SystemString

[Missing <param name="dataSavePath"/> documentation for "M:Godot.BakedLightmap.Bake(Godot.Node,System.String)"]

Return Value

Type: BakedLightmapBakeError

[Missing <returns> documentation for "M:Godot.BakedLightmap.Bake(Godot.Node,System.String)"]

See Also