Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


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

public struct ProbeBakeRequest

Properties

Property

Description

bakeOutputFolderPathThe folder used to store the output when the probes in the request are baked.
deringWhen true applies deringing to the probes in the request.
directSampleCountSpecifies the number of samples used for direct lighting calculations.
environmentSampleCountSpecifies the number of samples used for environment lighting calculations.
ignoreDirectEnvironmentWhen true ignores baking direct environment lighting into the probe.
ignoreIndirectEnvironmentWhen true ignores baking indirect environment lighting into the probe.
indirectSampleCountSpecifies the number of samples used for indirect lighting calculations.
indirectScaleA scale to apply to the indirect probe lighting.
maxBouncesStores the maximum number of bounces for indirect lighting.
outputTypesA bitmask that describes the outputs to bake for the probes in this request. Additional Resources: ProbeBakeRequestOutput.
positionLengthThe number of probe positions in this request.
positionOffsetThe probe position offset of this request into the position array held by the BakeInput that contains this request.
postProcessOutputFolderPathThe folder used to store the output when the probes in the request are postprocessed.
pushoffPushoff value used when baking the probes in the request.