C# Класс UnityEditor.Lightmapping

Allows to control the lightmapping job.

Показать файл Открыть проект Примеры использования класса

Открытые свойства

Свойство Тип Описание
completed OnCompletedFunction

Private Properties

Свойство Тип Описание
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

Открытые методы

Метод Описание
BakeMultipleScenes ( string paths ) : void

Bakes an array of scenes.

Приватные методы

Метод Описание
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

Описание методов

BakeMultipleScenes() публичный статический Метод

Bakes an array of scenes.

public static BakeMultipleScenes ( string paths ) : void
paths string The path of the scenes that should be baked.
Результат void

Описание свойств

completed публичное статическое свойство

Delegate which is called when bake job is completed.

public static OnCompletedFunction completed
Результат OnCompletedFunction