Version: 2022.1
언어: 한국어

CullingOptions.DisablePerObjectCulling

매뉴얼로 전환

설명

When this flag is set, Unity does not perform per-object culling.

By default, when using a Scriptable Render Pipeline, Unity performs per-object culling for Lights and Reflection Probes. This means that Unity pairs visible Lights and Reflection Probes with visible Renderers in their zone of influence when it performs a culling operation.

When this flag is set, Unity does not perform per-object culling of Lights or Reflection Probes. If you are creating a custom Scriptable Render Pipeline that does not use per-object lighting, set this flag to avoid wasted CPU operations.

Default value: unset.

See Also: ScriptableCullingParameters.cullingOptions, ScriptableRenderContext.Cull, CullingResults.

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