Méthode | Description | |
---|---|---|
Color3D ( float value ) : System |
Constructs a Color3D where each component is set to the same value.
|
|
Color3D ( float r, float g, float b ) : System |
Constructs a Color3D.
|
|
Equals ( |
Tests equality between this color and another color
|
|
Equals ( object obj ) : bool |
Tests equality between this color and another object.
|
|
GetHashCode ( ) : int |
Returns a hash code for this instance.
|
|
IsBlack ( ) : bool |
Determines if the color is black, or close to being black.
|
|
ToString ( ) : string |
Returns a System.String that represents this instance.
|
|
operator ( ) : |
Multiplies the two colors.
|
|
operator ( ) : bool |
Tets inequality between two colors.
|
|
this ( int index ) : float |
Gets or sets the component value at the specified zero-based index in the order of RGBA (index 0 access R, 1 access G, etc). If the index is not in range, a value of zero is returned.
|
public Color3D ( float value ) : System | ||
value | float | Value to set R, G, B components |
Résultat | System |
public Color3D ( float r, float g, float b ) : System | ||
r | float | Red component |
g | float | Green component |
b | float | Blue component |
Résultat | System |
public Equals ( |
||
other | Color to test against | |
Résultat | bool |
public Equals ( object obj ) : bool | ||
obj | object | Object to test against |
Résultat | bool |