ProbeBakeRequest
The ProbeBakeRequest contains all the data needed to bake a collection of probes. Can be added to a BakeInput.
Read time 1 minuteLast updated 6 days ago
Definition
- Type: Struct
- Namespace: UnityEngine.LightTransport
- Assembly: UnityEditor.CoreModule
public struct ProbeBakeRequest
Properties
Property | Description |
|---|---|
| bakeOutputFolderPath | The folder used to store the output when the probes in the request are baked. |
| dering | When true applies deringing to the probes in the request. |
| directSampleCount | Specifies the number of samples used for direct lighting calculations. |
| environmentSampleCount | Specifies the number of samples used for environment lighting calculations. |
| ignoreDirectEnvironment | When true ignores baking direct environment lighting into the probe. |
| ignoreIndirectEnvironment | When true ignores baking indirect environment lighting into the probe. |
| indirectSampleCount | Specifies the number of samples used for indirect lighting calculations. |
| indirectScale | A scale to apply to the indirect probe lighting. |
| maxBounces | Stores the maximum number of bounces for indirect lighting. |
| outputTypes | A bitmask that describes the outputs to bake for the probes in this request. Additional Resources: ProbeBakeRequestOutput. |
| positionLength | The number of probe positions in this request. |
| positionOffset | The probe position offset of this request into the position array held by the BakeInput that contains this request. |
| postProcessOutputFolderPath | The folder used to store the output when the probes in the request are postprocessed. |
| pushoff | Pushoff value used when baking the probes in the request. |