Version: 2018.2
Experimental: this API is experimental and might be changed or removed in the future.

Switch to Manual

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.