InputExtraction

class in UnityEngine.LightTransport

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.

Did you find this page useful? Please give it a rating: