Version: 2022.2
LanguageEnglish
  • C#

RenderParams

struct in UnityEngine

/

Implemented in:UnityEngine.CoreModule

Suggest a change

Success!

Thank you for helping us improve the quality of Unity Documentation. Although we cannot accept all submissions, we do read each suggested change from our users and will make updates where applicable.

Close

Submission failed

For some reason your suggested change could not be submitted. Please <a>try again</a> in a few minutes. And thank you for taking the time to help us improve the quality of Unity Documentation.

Close

Cancel

Description

Rendering parameters used by various rendering functions.

Properties

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.

Constructors

RenderParamsConstructor.