Version: 2020.1
言語: 日本語
public static void PrepareCamera (Camera cam);

パラメーター

cam The Camera to prepare for processing VFX commands.

説明

Use this method to prepare per-Camera VFX commands for this frame.

This function updates Materials that the VisualEffect uses internally, but does not execute any rendering commands. To execute rendering commands, call VFXManager.ProcessCamera.

Scriptable Render Pipelines (SRP) are responsible for calling this function. The High Definition and Universal Render Pipelines implement this call.

If you create your own SRP, you should typically call this function before culling.

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