Version: 5.6
Experimental: this API is experimental and might be changed or removed in the future.

InputFilter

struct in UnityEngine.Experimental.Rendering

マニュアルに切り替える

説明

Describes which subset of visible objects to render.

RenderLoop.DrawRenderers can render subset of visible objects via DrawRendererSettings.inputFilter value. Objects can be filtered by their material's render queue and game object's layer.

関連項目: RenderLoop.DrawRenderers, DrawRendererSettings.inputFilter.

変数

layerMaskOnly render objects in the given layer mask.
renderQueueMaxRender objects that have material render queue smaller or equal to this.
renderQueueMinRender objects that have material render queue larger or equal to this.

Public 関数

SetQueuesOpaqueSet to render only opaque objects.
SetQueuesTransparentSet to render only transparent objects.

Static 関数

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