Legacy Documentation: Version 5.1
LanguageEnglish
  • C#
  • JS

Script language

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

Color.operator +

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

Parameters

Description

Adds two colors together. Each component is added separately.

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