BlendMode Normal

book_4_sparkGenerated
code_blocksInput

Description

The Normal field is a member of the BlendMode enumeration within the Sandbox namespace. It represents the default blending mode used by the UI system, where the source color is drawn over the destination color without any additional blending effects.

Usage

Use the BlendMode.Normal when you want to render UI elements with standard, unaltered color blending. This is typically used when no special blending effects are desired, and the source image should be drawn directly over the destination.

Example

// Example of using BlendMode.Normal in a UI component
UIComponent myComponent = new UIComponent();
myComponent.BlendMode = BlendMode.Normal;

// This will render the component with the normal blend mode, meaning
// the source color will be drawn directly over the destination color.