C# Class UnityEditor.Lightmapping

Allows to control the lightmapping job.

Exibir arquivo Open project: CarlosHBC/UnityDecompiled Class Usage Examples

Public Properties

Property Type Description
completed OnCompletedFunction

Private Properties

Property Type Description
Bake bool
BakeAllReflectionProbesSnapshots bool
BakeAsync bool
BakeLightProbesOnly bool
BakeLightProbesOnlyAsync bool
BakeReflectionProbe bool
BakeReflectionProbeSnapshot bool
BakeSelected bool
BakeSelectedAsync bool
Cancel void
Clear void
ClearDiskCache void
ClearLightingDataAsset void
ClearPrecompSetIsDone void
GetTerrainGIChunks void
Internal_CallCompletedFunctions void
PrintStateToConsole void
Tetrahedralize void
UpdateCachePath void

Public Methods

Method Description
BakeMultipleScenes ( string paths ) : void

Bakes an array of scenes.

Private Methods

Method Description
Bake ( ) : bool
BakeAllReflectionProbesSnapshots ( ) : bool
BakeAsync ( ) : bool
BakeLightProbesOnly ( ) : bool
BakeLightProbesOnlyAsync ( ) : bool
BakeReflectionProbe ( ReflectionProbe probe, string path ) : bool
BakeReflectionProbeSnapshot ( ReflectionProbe probe ) : bool
BakeSelected ( ) : bool
BakeSelectedAsync ( ) : bool
Cancel ( ) : void
Clear ( ) : void
ClearDiskCache ( ) : void
ClearLightingDataAsset ( ) : void
ClearPrecompSetIsDone ( ) : void
GetTerrainGIChunks ( Terrain terrain, int &numChunksX, int &numChunksY ) : void
Internal_CallCompletedFunctions ( ) : void
PrintStateToConsole ( ) : void
Tetrahedralize ( Vector3 positions, int &outIndices, Vector3 &outPositions ) : void
UpdateCachePath ( ) : void

Method Details

BakeMultipleScenes() public static method

Bakes an array of scenes.

public static BakeMultipleScenes ( string paths ) : void
paths string The path of the scenes that should be baked.
return void

Property Details

completed public_oe static_oe property

Delegate which is called when bake job is completed.

public static OnCompletedFunction completed
return OnCompletedFunction