Class LightmappingHDRP
Provides methods to help you with lightmapping in the High Definition Render Pipeline.
Inherited Members
Namespace: UnityEditor.Rendering.HighDefinition
Assembly: Unity.RenderPipelines.HighDefinition.Editor.dll
Syntax
public static class LightmappingHDRP
Methods
BakeProbe(HDProbe, string, BakeProbeOptions)
Bakes the probe and updates its baked texture.
Note: The update of the probe is persistent only in editor mode.
Declaration
public static Exception BakeProbe(HDProbe probe, string path, LightmappingHDRP.BakeProbeOptions options)
Parameters
| Type | Name | Description |
|---|---|---|
| HDProbe | probe | The probe to bake. |
| string | path | The asset path to write the baked texture to. |
| LightmappingHDRP.BakeProbeOptions | options | The options to use for the bake. |
Returns
| Type | Description |
|---|---|
| Exception | Returns
|