Version: 5.3 (switch to 5.4b)
IdiomaEnglish
  • C#
  • JS

Idioma de script

Selecciona tu lenguaje de programación favorito. Todos los fragmentos de código serán mostrados en este lenguaje.

Lightmapping

class in UnityEditor

Sugiere un cambio

¡Éxito!

Gracias por ayudarnos a mejorar la calidad de la documentación de Unity. A pesar de que no podemos aceptar todas las sugerencias, leemos cada cambio propuesto por nuestros usuarios y actualizaremos los que sean aplicables.

Cerrar

No se puedo enviar

Por alguna razón su cambio sugerido no pudo ser enviado. Por favor <a>intente nuevamente</a> en unos minutos. Gracias por tomarse un tiempo para ayudarnos a mejorar la calidad de la documentación de Unity.

Cerrar

Cancelar

Cambiar al Manual

Descripción

Allows to control the lightmapping job.

Before starting the job the bake settings can be set via LightmapEditorSettings.

See Also: LightmapEditorSettings.

Variables Estáticas

bounceBoostBoost the albedo.
buildProgressReturns the current lightmapping build progress or 0 if Lightmapping.isRunning is false.
completedDelegate which is called when bake job is completed.
giWorkflowModeThe lightmap baking workflow mode used. Iterative mode is default, but you can switch to on demand mode which bakes only when the user presses the bake button.
indirectOutputScaleScale for indirect lighting.
isRunningReturns true when the bake job is running, false otherwise (Read Only).
lightingDataAssetThe lighting data asset used by the active scene.

Funciones Estáticas

BakeStars a synchronous bake job.
BakeAsyncStarts an asynchronous bake job.
BakeLightProbesOnlyStarts a synchronous bake job, but only bakes light probes.
BakeLightProbesOnlyAsyncStarts an asynchronous bake job, but only bakes light probes.
BakeMultipleScenesBakes an array of scenes.
BakeReflectionProbeStarts a synchronous bake job for the probe.
BakeSelectedStarts a synchronous bake job for the selected objects.
BakeSelectedAsyncStarts an asynchronous bake job for the selected objects.
CancelCancels the currently running asynchronous bake job.
ClearDeletes all lightmap assets and makes all lights behave as if they weren't baked yet.
ClearDiskCacheClears the cache used by lightmaps, reflection probes and default reflection.
ClearLightingDataAssetRemove the lighting data asset used by the current scene.
GetTerrainGIChunksGet how many chunks the terrain is divided into for GI baking.
TetrahedralizeCalculates a Delaunay Tetrahedralization of the 'positions' point set - the same way the lightmapper.

Delegados

OnCompletedFunctionDelegate used by Lightmapping.completed callback.