Version: 2021.3
言語: 日本語
public static void UpdateEnvironment ();

説明

Schedules an update of the environment cubemap.

An update of the environment cubemap is scheduled.
If the system supports asynchronous readbacks (this can be queried with SystemInfo.supportsAsyncGPUReadback), the environment cubemap is read back without blocking while waiting for the result, but may lag one or more frames behind. The amount of environment readbacks which can be scheduled is limited. If you schedule updates faster than the readback can be performed an overflow will occur with a console warning.
If the system does not support asynchronous readbacks, the environment cubemap readback will stall the current thread, reading and processing each face of the cubemap one by one. An alternative to updating the environment cubemap for dynamic global illumination through readbacks is to manually set the contents with DynamicGI.SetEnvironmentData.

Copyright © 2023 Unity Technologies
优美缔软件(上海)有限公司 版权所有
"Unity"、Unity 徽标及其他 Unity 商标是 Unity Technologies 或其附属机构在美国及其他地区的商标或注册商标。其他名称或品牌是其各自所有者的商标。
公安部备案号:
31010902002961