Version: 2017.3 (switch to 2017.4)
LanguageEnglish
  • C#
  • JS

Script language

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

Color.operator +

public static operator +(a: Color, b: Color): Color;

Description

Adds two colors together. Each component is added separately.

// blue + red = magenta
var result : Color = Color.blue + Color.red;

Did you find this page useful? Please give it a rating: