C# Class Xenko.Core.Mathematics.ColorHSV

Mostrar archivo Open project: xen2/stride

Public Methods

Method Description
ColorHSV ( float h, float s, float v, float a ) : System

Initializes a new instance of the ColorHSV struct.

Equals ( other ) : bool
Equals ( object obj ) : bool
FromColor ( Xenko.Core.Mathematics.Color4 color ) : ColorHSV

Converts the color into a HSV color.

GetHashCode ( ) : int
ToColor ( ) : Xenko.Core.Mathematics.Color4

Converts the color into a three component vector.

ToString ( ) : string

Returns a string that represents this instance.

ToString ( IFormatProvider formatProvider ) : string

Returns a string that represents this instance.

ToString ( string format ) : string

Returns a string that represents this instance.

ToString ( string format, IFormatProvider formatProvider ) : string

Returns a string that represents this instance.

Method Details

ColorHSV() public method

Initializes a new instance of the ColorHSV struct.
public ColorHSV ( float h, float s, float v, float a ) : System
h float The h.
s float The s.
v float The v.
a float A.
return System

Equals() public method

public Equals ( other ) : bool
return bool

Equals() public method

public Equals ( object obj ) : bool
obj object
return bool

FromColor() public static method

Converts the color into a HSV color.
public static FromColor ( Xenko.Core.Mathematics.Color4 color ) : ColorHSV
color Xenko.Core.Mathematics.Color4 The color.
return ColorHSV

GetHashCode() public method

public GetHashCode ( ) : int
return int

ToColor() public method

Converts the color into a three component vector.
public ToColor ( ) : Xenko.Core.Mathematics.Color4
return Xenko.Core.Mathematics.Color4

ToString() public method

Returns a string that represents this instance.
public ToString ( ) : string
return string

ToString() public method

Returns a string that represents this instance.
public ToString ( IFormatProvider formatProvider ) : string
formatProvider IFormatProvider The format provider.
return string

ToString() public method

Returns a string that represents this instance.
public ToString ( string format ) : string
format string The format.
return string

ToString() public method

Returns a string that represents this instance.
public ToString ( string format, IFormatProvider formatProvider ) : string
format string The format.
formatProvider IFormatProvider The format provider.
return string