Class Lightmapping
Assembly: UnityEditor.dll
Syntax
public static class Lightmapping
Fields
|
Improve this Doc
View Source
completed
Declaration
public static Lightmapping.OnCompletedFunction completed
Field Value
Properties
bakedGI
Declaration
public static bool bakedGI { get; set; }
Property Value
bounceBoost
Declaration
public static float bounceBoost { get; set; }
Property Value
buildProgress
Declaration
public static float buildProgress { get; }
Property Value
giWorkflowMode
Declaration
public static Lightmapping.GIWorkflowMode giWorkflowMode { get; set; }
Property Value
indirectOutputScale
Declaration
public static float indirectOutputScale { get; set; }
Property Value
isRunning
Declaration
public static bool isRunning { get; }
Property Value
lightingDataAsset
Declaration
public static LightingDataAsset lightingDataAsset { get; set; }
Property Value
|
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
realtimeGI
Declaration
public static bool realtimeGI { get; set; }
Property Value
Methods
Bake()
Declaration
public static bool Bake()
Returns
BakeAsync()
Declaration
public static bool BakeAsync()
Returns
|
Improve this Doc
View Source
BakeLightProbesOnly()
Declaration
[Obsolete("BakeLightProbesOnly has been deprecated. Use Bake instead (UnityUpgradable) -> Bake()", true)]
public static bool BakeLightProbesOnly()
Returns
|
Improve this Doc
View Source
BakeLightProbesOnlyAsync()
Declaration
[Obsolete("BakeLightProbesOnlyAsync has been deprecated. Use BakeAsync instead (UnityUpgradable) -> BakeAsync()", true)]
public static bool BakeLightProbesOnlyAsync()
Returns
|
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
Returns
|
Improve this Doc
View Source
BakeSelected()
Declaration
[Obsolete("BakeSelected has been deprecated. Use Bake instead (UnityUpgradable) -> Bake()", true)]
public static bool BakeSelected()
Returns
|
Improve this Doc
View Source
BakeSelectedAsync()
Declaration
[Obsolete("BakeSelectedAsync has been deprecated. Use BakeAsync instead (UnityUpgradable) -> BakeAsync()", true)]
public static bool BakeSelectedAsync()
Returns
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
|
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
Events
|
Improve this Doc
View Source
started
Declaration
public static event Lightmapping.OnStartedFunction started
Event Type