Show / Hide Table of Contents

Class Lightmapping

Inheritance
Object
Lightmapping
Inherited Members
Object.ToString()
Object.Equals(Object)
Object.Equals(Object, Object)
Object.ReferenceEquals(Object, Object)
Object.GetHashCode()
Object.GetType()
Object.MemberwiseClone()
Namespace: UnityEditor
Assembly: UnityEditor.dll
Syntax
public static class Lightmapping

Fields

| Improve this Doc View Source

completed

Declaration
public static Lightmapping.OnCompletedFunction completed
Field Value
Type Description
Lightmapping.OnCompletedFunction

Properties

bakedGI

Declaration
public static bool bakedGI { get; set; }
Property Value
Type Description
Boolean

bounceBoost

Declaration
public static float bounceBoost { get; set; }
Property Value
Type Description
Single

buildProgress

Declaration
public static float buildProgress { get; }
Property Value
Type Description
Single

giWorkflowMode

Declaration
public static Lightmapping.GIWorkflowMode giWorkflowMode { get; set; }
Property Value
Type Description
Lightmapping.GIWorkflowMode

indirectOutputScale

Declaration
public static float indirectOutputScale { get; set; }
Property Value
Type Description
Single

isRunning

Declaration
public static bool isRunning { get; }
Property Value
Type Description
Boolean

lightingDataAsset

Declaration
public static LightingDataAsset lightingDataAsset { get; set; }
Property Value
Type Description
LightingDataAsset
| Improve this Doc View Source

lightmapSnapshot

Declaration
[Obsolete("lightmapSnapshot has been deprecated. Use lightingDataAsset instead (UnityUpgradable) -> lightingDataAsset", true)]
public static LightmapSnapshot lightmapSnapshot { get; set; }
Property Value
Type Description
LightmapSnapshot

realtimeGI

Declaration
public static bool realtimeGI { get; set; }
Property Value
Type Description
Boolean

Methods

Bake()

Declaration
public static bool Bake()
Returns
Type Description
Boolean

BakeAsync()

Declaration
public static bool BakeAsync()
Returns
Type Description
Boolean
| Improve this Doc View Source

BakeLightProbesOnly()

Declaration
[Obsolete("BakeLightProbesOnly has been deprecated. Use Bake instead (UnityUpgradable) -> Bake()", true)]
public static bool BakeLightProbesOnly()
Returns
Type Description
Boolean
| Improve this Doc View Source

BakeLightProbesOnlyAsync()

Declaration
[Obsolete("BakeLightProbesOnlyAsync has been deprecated. Use BakeAsync instead (UnityUpgradable) -> BakeAsync()", true)]
public static bool BakeLightProbesOnlyAsync()
Returns
Type Description
Boolean
| Improve this Doc View Source

BakeMultipleScenes(String[])

Declaration
public static void BakeMultipleScenes(string[] paths)
Parameters
Type Name Description
String[] paths

BakeReflectionProbe(ReflectionProbe, String)

Declaration
public static bool BakeReflectionProbe(ReflectionProbe probe, string path)
Parameters
Type Name Description
ReflectionProbe probe
String path
Returns
Type Description
Boolean
| Improve this Doc View Source

BakeSelected()

Declaration
[Obsolete("BakeSelected has been deprecated. Use Bake instead (UnityUpgradable) -> Bake()", true)]
public static bool BakeSelected()
Returns
Type Description
Boolean
| Improve this Doc View Source

BakeSelectedAsync()

Declaration
[Obsolete("BakeSelectedAsync has been deprecated. Use BakeAsync instead (UnityUpgradable) -> BakeAsync()", true)]
public static bool BakeSelectedAsync()
Returns
Type Description
Boolean

Cancel()

Declaration
public static void Cancel()

Clear()

Declaration
public static void Clear()

ClearDiskCache()

Declaration
public static void ClearDiskCache()

ClearLightingDataAsset()

Declaration
public static void ClearLightingDataAsset()

ForceStop()

Declaration
public static void ForceStop()

GetTerrainGIChunks(Terrain, ref Int32, ref Int32)

Declaration
public static void GetTerrainGIChunks(Terrain terrain, ref int numChunksX, ref int numChunksY)
Parameters
Type Name Description
Terrain terrain
Int32 numChunksX
Int32 numChunksY
| Improve this Doc View Source

Tetrahedralize(Vector3[], out Int32[], out Vector3[])

Declaration
public static void Tetrahedralize(Vector3[] positions, out int[] outIndices, out Vector3[] outPositions)
Parameters
Type Name Description
Vector3[] positions
Int32[] outIndices
Vector3[] outPositions

Events

| Improve this Doc View Source

started

Declaration
public static event Lightmapping.OnStartedFunction started
Event Type
Type Description
Lightmapping.OnStartedFunction
  • Improve this Doc
  • View Source
Back to top Generated by DocFX