Space Engineers
|
Represents a four-component color using red, green, blue, and alpha data. More...
Public Member Functions | |
Color (uint packedValue) | |
Color (int r, int g, int b) | |
Creates a new instance of the class. More... | |
Color (int r, int g, int b, int a) | |
Creates a new instance of the class. More... | |
Color (float rgb) | |
Color (float r, float g, float b) | |
Creates a new instance of the class. More... | |
Color (float r, float g, float b, float a) | |
Creates a new instance of the class. More... | |
Color (Color color, float a) | |
Color (Vector3 vector) | |
Creates a new instance of the class. More... | |
Color (Vector4 vector) | |
Creates a new instance of the class. More... | |
void IPackedVector. | PackFromVector4 (Vector4 vector) |
Vector3 | ToVector3 () |
Gets a three-component vector representation for this object. More... | |
Vector4 | ToVector4 () |
Gets a four-component vector representation for this object. More... | |
override string | ToString () |
Gets a string representation of this object. More... | |
override int | GetHashCode () |
Serves as a hash function for a particular type. More... | |
override bool | Equals (object obj) |
Test an instance of a color object to see if it is equal to this object. More... | |
bool | Equals (Color other) |
Test a color to see if it is equal to the color in this instance. More... | |
Static Public Member Functions | |
static Color | operator* (Color value, float scale) |
Multiply operator. More... | |
static Color | operator+ (Color value, Color other) |
static bool | operator== (Color a, Color b) |
Equality operator. More... | |
static bool | operator!= (Color a, Color b) |
Equality operator for Testing two color objects to see if they are equal. More... | |
static Color | FromNonPremultiplied (Vector4 vector) |
Convert a non premultipled color into color data that contains alpha. More... | |
static Color | FromNonPremultiplied (int r, int g, int b, int a) |
Converts a non-premultipled alpha color to a color that contains premultiplied alpha. More... | |
static Color | Lerp (Color value1, Color value2, float amount) |
Linearly interpolate a color. More... | |
static Color | Multiply (Color value, float scale) |
Multiply each color component by the scale factor. More... | |
static implicit | operator Color (Vector3 v) |
static implicit | operator Vector3 (Color v) |
static implicit | operator Color (Vector4 v) |
static implicit | operator Vector4 (Color v) |
static Color | Lighten (Color inColor, double inAmount) |
static Color | Darken (Color inColor, double inAmount) |
Public Attributes | |
uint | PackedValue |
Gets the current color as a packed value. More... | |
Properties | |
byte | R [get, set] |
Gets or sets the red component value of this Color. More... | |
byte | G [get, set] |
Gets or sets the green component value of this Color. More... | |
byte | B [get, set] |
Gets or sets the blue component value of this Color. More... | |
byte | A [get, set] |
Gets or sets the alpha component value. More... | |
static Color | Transparent [get] |
Gets a system-defined color with the value R:0 G:0 B:0 A:0. More... | |
static Color | AliceBlue [get] |
Gets a system-defined color with the value R:240 G:248 B:255 A:255. More... | |
static Color | AntiqueWhite [get] |
Gets a system-defined color with the value R:250 G:235 B:215 A:255. More... | |
static Color | Aqua [get] |
Gets a system-defined color with the value R:0 G:255 B:255 A:255. More... | |
static Color | Aquamarine [get] |
Gets a system-defined color with the value R:127 G:255 B:212 A:255. More... | |
static Color | Azure [get] |
Gets a system-defined color with the value R:240 G:255 B:255 A:255. More... | |
static Color | Beige [get] |
Gets a system-defined color with the value R:245 G:245 B:220 A:255. More... | |
static Color | Bisque [get] |
Gets a system-defined color with the value R:255 G:228 B:196 A:255. More... | |
static Color | Black [get] |
Gets a system-defined color with the value R:0 G:0 B:0 A:255. More... | |
static Color | BlanchedAlmond [get] |
Gets a system-defined color with the value R:255 G:235 B:205 A:255. More... | |
static Color | Blue [get] |
Gets a system-defined color with the value R:0 G:0 B:255 A:255. More... | |
static Color | BlueViolet [get] |
Gets a system-defined color with the value R:138 G:43 B:226 A:255. More... | |
static Color | Brown [get] |
Gets a system-defined color with the value R:165 G:42 B:42 A:255. More... | |
static Color | BurlyWood [get] |
Gets a system-defined color with the value R:222 G:184 B:135 A:255. More... | |
static Color | CadetBlue [get] |
Gets a system-defined color with the value R:95 G:158 B:160 A:255. More... | |
static Color | Chartreuse [get] |
Gets a system-defined color with the value R:127 G:255 B:0 A:255. More... | |
static Color | Chocolate [get] |
Gets a system-defined color with the value R:210 G:105 B:30 A:255. More... | |
static Color | Coral [get] |
Gets a system-defined color with the value R:255 G:127 B:80 A:255. More... | |
static Color | CornflowerBlue [get] |
Gets a system-defined color with the value R:100 G:149 B:237 A:255. More... | |
static Color | Cornsilk [get] |
Gets a system-defined color with the value R:255 G:248 B:220 A:255. More... | |
static Color | Crimson [get] |
Gets a system-defined color with the value R:220 G:20 B:60 A:255. More... | |
static Color | Cyan [get] |
Gets a system-defined color with the value R:0 G:255 B:255 A:255. More... | |
static Color | DarkBlue [get] |
Gets a system-defined color with the value R:0 G:0 B:139 A:255. More... | |
static Color | DarkCyan [get] |
Gets a system-defined color with the value R:0 G:139 B:139 A:255. More... | |
static Color | DarkGoldenrod [get] |
Gets a system-defined color with the value R:184 G:134 B:11 A:255. More... | |
static Color | DarkGray [get] |
Gets a system-defined color with the value R:169 G:169 B:169 A:255. More... | |
static Color | DarkGreen [get] |
Gets a system-defined color with the value R:0 G:100 B:0 A:255. More... | |
static Color | DarkKhaki [get] |
Gets a system-defined color with the value R:189 G:183 B:107 A:255. More... | |
static Color | DarkMagenta [get] |
Gets a system-defined color with the value R:139 G:0 B:139 A:255. More... | |
static Color | DarkOliveGreen [get] |
Gets a system-defined color with the value R:85 G:107 B:47 A:255. More... | |
static Color | DarkOrange [get] |
Gets a system-defined color with the value R:255 G:140 B:0 A:255. More... | |
static Color | DarkOrchid [get] |
Gets a system-defined color with the value R:153 G:50 B:204 A:255. More... | |
static Color | DarkRed [get] |
Gets a system-defined color with the value R:139 G:0 B:0 A:255. More... | |
static Color | DarkSalmon [get] |
Gets a system-defined color with the value R:233 G:150 B:122 A:255. More... | |
static Color | DarkSeaGreen [get] |
Gets a system-defined color with the value R:143 G:188 B:139 A:255. More... | |
static Color | DarkSlateBlue [get] |
Gets a system-defined color with the value R:72 G:61 B:139 A:255. More... | |
static Color | DarkSlateGray [get] |
Gets a system-defined color with the value R:47 G:79 B:79 A:255. More... | |
static Color | DarkTurquoise [get] |
Gets a system-defined color with the value R:0 G:206 B:209 A:255. More... | |
static Color | DarkViolet [get] |
Gets a system-defined color with the value R:148 G:0 B:211 A:255. More... | |
static Color | DeepPink [get] |
Gets a system-defined color with the value R:255 G:20 B:147 A:255. More... | |
static Color | DeepSkyBlue [get] |
Gets a system-defined color with the value R:0 G:191 B:255 A:255. More... | |
static Color | DimGray [get] |
Gets a system-defined color with the value R:105 G:105 B:105 A:255. More... | |
static Color | DodgerBlue [get] |
Gets a system-defined color with the value R:30 G:144 B:255 A:255. More... | |
static Color | Firebrick [get] |
Gets a system-defined color with the value R:178 G:34 B:34 A:255. More... | |
static Color | FloralWhite [get] |
Gets a system-defined color with the value R:255 G:250 B:240 A:255. More... | |
static Color | ForestGreen [get] |
Gets a system-defined color with the value R:34 G:139 B:34 A:255. More... | |
static Color | Fuchsia [get] |
Gets a system-defined color with the value R:255 G:0 B:255 A:255. More... | |
static Color | Gainsboro [get] |
Gets a system-defined color with the value R:220 G:220 B:220 A:255. More... | |
static Color | GhostWhite [get] |
Gets a system-defined color with the value R:248 G:248 B:255 A:255. More... | |
static Color | Gold [get] |
Gets a system-defined color with the value R:255 G:215 B:0 A:255. More... | |
static Color | Goldenrod [get] |
Gets a system-defined color with the value R:218 G:165 B:32 A:255. More... | |
static Color | Gray [get] |
Gets a system-defined color with the value R:128 G:128 B:128 A:255. More... | |
static Color | Green [get] |
Gets a system-defined color with the value R:0 G:128 B:0 A:255. More... | |
static Color | GreenYellow [get] |
Gets a system-defined color with the value R:173 G:255 B:47 A:255. More... | |
static Color | Honeydew [get] |
Gets a system-defined color with the value R:240 G:255 B:240 A:255. More... | |
static Color | HotPink [get] |
Gets a system-defined color with the value R:255 G:105 B:180 A:255. More... | |
static Color | IndianRed [get] |
Gets a system-defined color with the value R:205 G:92 B:92 A:255. More... | |
static Color | Indigo [get] |
Gets a system-defined color with the value R:75 G:0 B:130 A:255. More... | |
static Color | Ivory [get] |
Gets a system-defined color with the value R:255 G:255 B:240 A:255. More... | |
static Color | Khaki [get] |
Gets a system-defined color with the value R:240 G:230 B:140 A:255. More... | |
static Color | Lavender [get] |
Gets a system-defined color with the value R:230 G:230 B:250 A:255. More... | |
static Color | LavenderBlush [get] |
Gets a system-defined color with the value R:255 G:240 B:245 A:255. More... | |
static Color | LawnGreen [get] |
Gets a system-defined color with the value R:124 G:252 B:0 A:255. More... | |
static Color | LemonChiffon [get] |
Gets a system-defined color with the value R:255 G:250 B:205 A:255. More... | |
static Color | LightBlue [get] |
Gets a system-defined color with the value R:173 G:216 B:230 A:255. More... | |
static Color | LightCoral [get] |
Gets a system-defined color with the value R:240 G:128 B:128 A:255. More... | |
static Color | LightCyan [get] |
Gets a system-defined color with the value R:224 G:255 B:255 A:255. More... | |
static Color | LightGoldenrodYellow [get] |
Gets a system-defined color with the value R:250 G:250 B:210 A:255. More... | |
static Color | LightGreen [get] |
Gets a system-defined color with the value R:144 G:238 B:144 A:255. More... | |
static Color | LightGray [get] |
Gets a system-defined color with the value R:211 G:211 B:211 A:255. More... | |
static Color | LightPink [get] |
Gets a system-defined color with the value R:255 G:182 B:193 A:255. More... | |
static Color | LightSalmon [get] |
Gets a system-defined color with the value R:255 G:160 B:122 A:255. More... | |
static Color | LightSeaGreen [get] |
Gets a system-defined color with the value R:32 G:178 B:170 A:255. More... | |
static Color | LightSkyBlue [get] |
Gets a system-defined color with the value R:135 G:206 B:250 A:255. More... | |
static Color | LightSlateGray [get] |
Gets a system-defined color with the value R:119 G:136 B:153 A:255. More... | |
static Color | LightSteelBlue [get] |
Gets a system-defined color with the value R:176 G:196 B:222 A:255. More... | |
static Color | LightYellow [get] |
Gets a system-defined color with the value R:255 G:255 B:224 A:255. More... | |
static Color | Lime [get] |
Gets a system-defined color with the value R:0 G:255 B:0 A:255. More... | |
static Color | LimeGreen [get] |
Gets a system-defined color with the value R:50 G:205 B:50 A:255. More... | |
static Color | Linen [get] |
Gets a system-defined color with the value R:250 G:240 B:230 A:255. More... | |
static Color | Magenta [get] |
Gets a system-defined color with the value R:255 G:0 B:255 A:255. More... | |
static Color | Maroon [get] |
Gets a system-defined color with the value R:128 G:0 B:0 A:255. More... | |
static Color | MediumAquamarine [get] |
Gets a system-defined color with the value R:102 G:205 B:170 A:255. More... | |
static Color | MediumBlue [get] |
Gets a system-defined color with the value R:0 G:0 B:205 A:255. More... | |
static Color | MediumOrchid [get] |
Gets a system-defined color with the value R:186 G:85 B:211 A:255. More... | |
static Color | MediumPurple [get] |
Gets a system-defined color with the value R:147 G:112 B:219 A:255. More... | |
static Color | MediumSeaGreen [get] |
Gets a system-defined color with the value R:60 G:179 B:113 A:255. More... | |
static Color | MediumSlateBlue [get] |
Gets a system-defined color with the value R:123 G:104 B:238 A:255. More... | |
static Color | MediumSpringGreen [get] |
Gets a system-defined color with the value R:0 G:250 B:154 A:255. More... | |
static Color | MediumTurquoise [get] |
Gets a system-defined color with the value R:72 G:209 B:204 A:255. More... | |
static Color | MediumVioletRed [get] |
Gets a system-defined color with the value R:199 G:21 B:133 A:255. More... | |
static Color | MidnightBlue [get] |
Gets a system-defined color with the value R:25 G:25 B:112 A:255. More... | |
static Color | MintCream [get] |
Gets a system-defined color with the value R:245 G:255 B:250 A:255. More... | |
static Color | MistyRose [get] |
Gets a system-defined color with the value R:255 G:228 B:225 A:255. More... | |
static Color | Moccasin [get] |
Gets a system-defined color with the value R:255 G:228 B:181 A:255. More... | |
static Color | NavajoWhite [get] |
Gets a system-defined color with the value R:255 G:222 B:173 A:255. More... | |
static Color | Navy [get] |
Gets a system-defined color R:0 G:0 B:128 A:255. More... | |
static Color | OldLace [get] |
Gets a system-defined color with the value R:253 G:245 B:230 A:255. More... | |
static Color | Olive [get] |
Gets a system-defined color with the value R:128 G:128 B:0 A:255. More... | |
static Color | OliveDrab [get] |
Gets a system-defined color with the value R:107 G:142 B:35 A:255. More... | |
static Color | Orange [get] |
Gets a system-defined color with the value R:255 G:165 B:0 A:255. More... | |
static Color | OrangeRed [get] |
Gets a system-defined color with the value R:255 G:69 B:0 A:255. More... | |
static Color | Orchid [get] |
Gets a system-defined color with the value R:218 G:112 B:214 A:255. More... | |
static Color | PaleGoldenrod [get] |
Gets a system-defined color with the value R:238 G:232 B:170 A:255. More... | |
static Color | PaleGreen [get] |
Gets a system-defined color with the value R:152 G:251 B:152 A:255. More... | |
static Color | PaleTurquoise [get] |
Gets a system-defined color with the value R:175 G:238 B:238 A:255. More... | |
static Color | PaleVioletRed [get] |
Gets a system-defined color with the value R:219 G:112 B:147 A:255. More... | |
static Color | PapayaWhip [get] |
Gets a system-defined color with the value R:255 G:239 B:213 A:255. More... | |
static Color | PeachPuff [get] |
Gets a system-defined color with the value R:255 G:218 B:185 A:255. More... | |
static Color | Peru [get] |
Gets a system-defined color with the value R:205 G:133 B:63 A:255. More... | |
static Color | Pink [get] |
Gets a system-defined color with the value R:255 G:192 B:203 A:255. More... | |
static Color | Plum [get] |
Gets a system-defined color with the value R:221 G:160 B:221 A:255. More... | |
static Color | PowderBlue [get] |
Gets a system-defined color with the value R:176 G:224 B:230 A:255. More... | |
static Color | Purple [get] |
Gets a system-defined color with the value R:128 G:0 B:128 A:255. More... | |
static Color | Red [get] |
Gets a system-defined color with the value R:255 G:0 B:0 A:255. More... | |
static Color | RosyBrown [get] |
Gets a system-defined color with the value R:188 G:143 B:143 A:255. More... | |
static Color | RoyalBlue [get] |
Gets a system-defined color with the value R:65 G:105 B:225 A:255. More... | |
static Color | SaddleBrown [get] |
Gets a system-defined color with the value R:139 G:69 B:19 A:255. More... | |
static Color | Salmon [get] |
Gets a system-defined color with the value R:250 G:128 B:114 A:255. More... | |
static Color | SandyBrown [get] |
Gets a system-defined color with the value R:244 G:164 B:96 A:255. More... | |
static Color | SeaGreen [get] |
Gets a system-defined color with the value R:46 G:139 B:87 A:255. More... | |
static Color | SeaShell [get] |
Gets a system-defined color with the value R:255 G:245 B:238 A:255. More... | |
static Color | Sienna [get] |
Gets a system-defined color with the value R:160 G:82 B:45 A:255. More... | |
static Color | Silver [get] |
Gets a system-defined color with the value R:192 G:192 B:192 A:255. More... | |
static Color | SkyBlue [get] |
Gets a system-defined color with the value R:135 G:206 B:235 A:255. More... | |
static Color | SlateBlue [get] |
Gets a system-defined color with the value R:106 G:90 B:205 A:255. More... | |
static Color | SlateGray [get] |
Gets a system-defined color with the value R:112 G:128 B:144 A:255. More... | |
static Color | Snow [get] |
Gets a system-defined color with the value R:255 G:250 B:250 A:255. More... | |
static Color | SpringGreen [get] |
Gets a system-defined color with the value R:0 G:255 B:127 A:255. More... | |
static Color | SteelBlue [get] |
Gets a system-defined color with the value R:70 G:130 B:180 A:255. More... | |
static Color | Tan [get] |
Gets a system-defined color with the value R:210 G:180 B:140 A:255. More... | |
static Color | Teal [get] |
Gets a system-defined color with the value R:0 G:128 B:128 A:255. More... | |
static Color | Thistle [get] |
Gets a system-defined color with the value R:216 G:191 B:216 A:255. More... | |
static Color | Tomato [get] |
Gets a system-defined color with the value R:255 G:99 B:71 A:255. More... | |
static Color | Turquoise [get] |
Gets a system-defined color with the value R:64 G:224 B:208 A:255. More... | |
static Color | Violet [get] |
Gets a system-defined color with the value R:238 G:130 B:238 A:255. More... | |
static Color | Wheat [get] |
Gets a system-defined color with the value R:245 G:222 B:179 A:255. More... | |
static Color | White [get] |
Gets a system-defined color with the value R:255 G:255 B:255 A:255. More... | |
static Color | WhiteSmoke [get] |
Gets a system-defined color with the value R:245 G:245 B:245 A:255. More... | |
static Color | Yellow [get] |
Gets a system-defined color with the value R:255 G:255 B:0 A:255. More... | |
static Color | YellowGreen [get] |
Gets a system-defined color with the value R:154 G:205 B:50 A:255. More... | |
uint IPackedVector< uint >. | PackedValue [get, set] |
Represents a four-component color using red, green, blue, and alpha data.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inlinestatic |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
uint VRageMath.Color.PackedValue |
|
getset |
|
staticget |
|
staticget |
|
staticget |
|
staticget |
|
staticget |
|
getset |
|
staticget |
|
staticget |
|
staticget |
|
staticget |
|
staticget |
|
staticget |
|
staticget |
|
staticget |
|
staticget |
|
staticget |
|
staticget |
|
staticget |
|
staticget |
|
staticget |
|
staticget |
|
staticget |
|
staticget |
|
staticget |
|
staticget |
|
staticget |
|
staticget |
|
staticget |
|
staticget |
|
staticget |
|
staticget |
|
staticget |
|
staticget |
|
staticget |
|
staticget |
|
staticget |
|
staticget |
|
staticget |
|
staticget |
|
staticget |
|
staticget |
|
staticget |
|
staticget |
|
staticget |
|
staticget |
|
staticget |
|
staticget |
|
getset |
|
staticget |
|
staticget |
|
staticget |
|
staticget |
|
staticget |
|
staticget |
|
staticget |
|
staticget |
|
staticget |
|
staticget |
|
staticget |
|
staticget |
|
staticget |
|
staticget |
|
staticget |
|
staticget |
|
staticget |
|
staticget |
|
staticget |
|
staticget |
|
staticget |
|
staticget |
|
staticget |
|
staticget |
|
staticget |
|
staticget |
|
staticget |
|
staticget |
|
staticget |
|
staticget |
|
staticget |
|
staticget |
|
staticget |
|
staticget |
|
staticget |
|
staticget |
|
staticget |
|
staticget |
|
staticget |
|
staticget |
|
staticget |
|
staticget |
|
staticget |
|
staticget |
|
staticget |
|
staticget |
|
staticget |
|
staticget |
|
staticget |
|
staticget |
|
staticget |
|
staticget |
|
staticget |
|
staticget |
|
staticget |
|
staticget |
|
getset |
|
staticget |
|
staticget |
|
staticget |
|
staticget |
|
staticget |
|
staticget |
|
staticget |
|
staticget |
|
staticget |
|
staticget |
|
staticget |
|
getset |
|
staticget |
|
staticget |
|
staticget |
|
staticget |
|
staticget |
|
staticget |
|
staticget |
|
staticget |
|
staticget |
|
staticget |
|
staticget |
|
staticget |
|
staticget |
|
staticget |
|
staticget |
|
staticget |
|
staticget |
|
staticget |
|
staticget |
|
staticget |
|
staticget |
|
staticget |
|
staticget |
|
staticget |
|
staticget |
|
staticget |
|
staticget |
|
staticget |