Version: Unity 6 (6000.0)
LanguageEnglish
  • C#

InputExtraction

class in UnityEngine.LightTransport

Suggest a change

Success!

Thank you for helping us improve the quality of Unity Documentation. Although we cannot accept all submissions, we do read each suggested change from our users and will make updates where applicable.

Close

Submission failed

For some reason your suggested change could not be submitted. Please <a>try again</a> in a few minutes. And thank you for taking the time to help us improve the quality of Unity Documentation.

Close

Cancel

Description

Class used when extracting BakeInput from the set of open scenes.

The BakeInput class can be used to populate the world space data structures used by integrators. Related content: IWorld.

Static Methods

ComputeOcclusionLightIndicesFromBakeInputFor each probe position, computes the indices of the brightest lights from the probe position's point of view. The function uses the information about lights stored in an existing BakeInput. This function is intended to be used with IProbeIntegrator.IntegrateOcclusion.
ExtractFromSceneExtract BakeInput from the set of open scenes.
GetShadowmaskChannelsFromLightIndicesGet's the associated baked shadowmask channels of the mixed lights with the specified indices. Use this together with InputExtraction.ComputeOcclusionLightIndicesFromBakeInput.
PopulateWorldPopulate the given world from a bake input.