文档

Unity Engine

Unity Engine

skybox

The global skybox to use.
阅读时间1 分钟最后更新于 1 个月前

Definition

  • Type: Property
  • Namespace: UnityEngine
  • Assembly: UnityEngine.CoreModule
public static Material skybox { get; set; }

Remarks

If you change the skybox in playmode, you have to use the DynamicGI.UpdateEnvironment function call to update the ambient probe.