struct in UnityEngine
/
Implemented in:UnityEngine.CoreModule
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.
CloseFor 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.
CloseRendering parameters used by various rendering functions.
This struct defines common parameters shared across various rendering functions.
See Also: Graphics.RenderMesh, Graphics.RenderMeshInstanced, Graphics.RenderMeshIndirect, Graphics.RenderMeshPrimitives, Graphics.RenderPrimitives, Graphics.RenderPrimitivesIndexed, Graphics.RenderPrimitivesIndirect, Graphics.RenderPrimitivesIndexedIndirect.
camera | The camera used for rendering. If set to null (default) renders for all cameras. |
layer | Layer used for rendering. Layer to use. |
lightProbeProxyVolume | Light Probe Proxy Volume (LPPV) used for rendering. |
lightProbeUsage | The type of light probe usage. |
material | Material used for rendering. |
matProps | Material properties used for rendering. |
motionVectorMode | Motion vector mode used for rendering. |
receiveShadows | Descripes if the rendered geometry should receive shadows. |
reflectionProbeUsage | The type of reflection probe used for rendering. |
rendererPriority | Renderer priority. |
renderingLayerMask | Renderer layer mask used for rendering. |
shadowCastingMode | Describes if geometry should cast shadows. |
worldBounds | Defines world space bounds for the geometry. Used to cull and sort the rendered geometry. |
RenderParams | Constructor. |