Sandbox.Gradient/BlendMode Blending { get; set; }

robot_2Generated
code_blocksInput

Description

The Blending property of the Gradient struct specifies the blend mode used to interpolate between color stops in the gradient. This property determines how the colors are mixed together as the gradient is evaluated over time.

Usage

To use the Blending property, you can get or set the blend mode of a Gradient instance. The blend mode is defined by the BlendMode enumeration, which provides different options for blending colors.

Example

// Example of setting the Blending property
Gradient gradient = new Gradient();
gradient.Blending = Gradient.BlendMode.Linear;

// Example of getting the Blending property
Gradient.BlendMode currentBlendMode = gradient.Blending;