Version: 2022.2

RenderParams

struct in UnityEngine

切换到手册

描述

Rendering parameters used by various rendering functions.

变量

cameraThe camera used for rendering. If set to null (default) renders for all cameras.
layerLayer used for rendering. Layer to use.
lightProbeProxyVolumeLight Probe Proxy Volume (LPPV) used for rendering.
lightProbeUsageThe type of light probe usage.
materialMaterial used for rendering.
matPropsMaterial properties used for rendering.
motionVectorModeMotion vector mode used for rendering.
receiveShadowsDescripes if the rendered geometry should receive shadows.
reflectionProbeUsageThe type of reflection probe used for rendering.
rendererPriorityRenderer priority.
renderingLayerMaskRenderer layer mask used for rendering.
shadowCastingModeDescribes if geometry should cast shadows.
worldBoundsDefines world space bounds for the geometry. Used to cull and sort the rendered geometry.

构造函数

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