Lightmapping
Experimental lightmapping features.
阅读时间1 分钟最后更新于 1 个月前
Definition
- Type: Class
- Namespace: UnityEditor.Experimental
- Assembly: UnityEditor.CoreModule
public sealed class Lightmapping
Remarks
Additional Resources: Lightmapping.
Static Properties
Property | Description |
|---|---|
| probesIgnoreDirectEnvironment | If enabled ignores the direct contribution from the environment lighting in baked probes. |
| probesIgnoreIndirectEnvironment | If enabled ignores the indirect contribution from the environment lighting in baked probes. |
Static Methods
Method | Description |
|---|---|
| Bake | Starts a synchronous lighting bake job for the target Scene. |
| BakeAsync | Starts an asynchronous lighting bake job for the target Scene. |
| SetLightDirty | Manually sets a light as dirty. |