Legacy Documentation: Version 5.0
Language: English
  • C#
  • JS

Script language

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

Color.Color

Switch to Manual

Parameters

Description

Colors can be implicitly converted to and from Vector4.

// Convert a vector4 to a Color
var aColor : Color = Vector4(0.5,1,0.5,1);