Description
The Multiply
field is a member of the BlendMode
enumeration within the Sandbox namespace. It represents a blend mode used by the UI system to determine how two layers are blended together. The Multiply
blend mode multiplies the color values of the source and destination layers, resulting in a darker image. This is useful for creating shadows or darkening images.
Usage
To use the Multiply
blend mode, you can assign it to a UI component's blend mode property. This will affect how the component's visual elements are rendered in relation to other overlapping elements.
Example
// Example of using the Multiply blend mode in a UI component
UIComponent myComponent = new UIComponent();
myComponent.BlendMode = BlendMode.Multiply;
// This will render the component using the Multiply blend mode, affecting how it blends with other UI elements.