# ProbeBakeRequest

> The ProbeBakeRequest contains all the data needed to bake a collection of probes. Can be added to a BakeInput.

## Definition

* **Type:** Struct
* **Namespace:** [UnityEngine.LightTransport](/engine/6000.7/script-reference/unityengine/lighttransport.md)
* **Assembly:** UnityEditor.CoreModule

```csharp
public struct ProbeBakeRequest
```

## Properties

| Property                                                                                                                                  | Description                                                                                                                                                                                                        |
| ----------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| [bakeOutputFolderPath](/engine/6000.7/script-reference/unityengine/lighttransport/probebakerequest/bakeoutputfolderpath.md)               | The folder used to store the output when the probes in the request are baked.                                                                                                                                      |
| [dering](/engine/6000.7/script-reference/unityengine/lighttransport/probebakerequest/dering.md)                                           | When true applies deringing to the probes in the request.                                                                                                                                                          |
| [directSampleCount](/engine/6000.7/script-reference/unityengine/lighttransport/probebakerequest/directsamplecount.md)                     | Specifies the number of samples used for direct lighting calculations.                                                                                                                                             |
| [environmentSampleCount](/engine/6000.7/script-reference/unityengine/lighttransport/probebakerequest/environmentsamplecount.md)           | Specifies the number of samples used for environment lighting calculations.                                                                                                                                        |
| [ignoreDirectEnvironment](/engine/6000.7/script-reference/unityengine/lighttransport/probebakerequest/ignoredirectenvironment.md)         | When true ignores baking direct environment lighting into the probe.                                                                                                                                               |
| [ignoreIndirectEnvironment](/engine/6000.7/script-reference/unityengine/lighttransport/probebakerequest/ignoreindirectenvironment.md)     | When true ignores baking indirect environment lighting into the probe.                                                                                                                                             |
| [indirectSampleCount](/engine/6000.7/script-reference/unityengine/lighttransport/probebakerequest/indirectsamplecount.md)                 | Specifies the number of samples used for indirect lighting calculations.                                                                                                                                           |
| [indirectScale](/engine/6000.7/script-reference/unityengine/lighttransport/probebakerequest/indirectscale.md)                             | A scale to apply to the indirect probe lighting.                                                                                                                                                                   |
| [maxBounces](/engine/6000.7/script-reference/unityengine/lighttransport/probebakerequest/maxbounces.md)                                   | Stores the maximum number of bounces for indirect lighting.                                                                                                                                                        |
| [outputTypes](/engine/6000.7/script-reference/unityengine/lighttransport/probebakerequest/outputtypes.md)                                 | A bitmask that describes the outputs to bake for the probes in this request. Additional Resources: [ProbeBakeRequestOutput](/engine/6000.7/script-reference/unityengine/lighttransport/probebakerequestoutput.md). |
| [positionLength](/engine/6000.7/script-reference/unityengine/lighttransport/probebakerequest/positionlength.md)                           | The number of probe positions in this request.                                                                                                                                                                     |
| [positionOffset](/engine/6000.7/script-reference/unityengine/lighttransport/probebakerequest/positionoffset.md)                           | The probe position offset of this request into the position array held by the BakeInput that contains this request.                                                                                                |
| [postProcessOutputFolderPath](/engine/6000.7/script-reference/unityengine/lighttransport/probebakerequest/postprocessoutputfolderpath.md) | The folder used to store the output when the probes in the request are postprocessed.                                                                                                                              |
| [pushoff](/engine/6000.7/script-reference/unityengine/lighttransport/probebakerequest/pushoff.md)                                         | Pushoff value used when baking the probes in the request.                                                                                                                                                          |
