LanguageEnglish
  • C#
  • JS

Script language

Select your preferred scripting language. All code snippets will be displayed in this language.

This version of Unity is unsupported.
Experimental: this API is experimental and might be changed or removed in the future.

Parameters

cullingModeControls which sides of polygons should be culled (not drawn).
offsetUnitsScales the minimum resolvable depth buffer value.
offsetFactorScales the maximum Z slope.

Description

Creates a new raster state with the given values.