Rendering 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 | コンストラクター |