C# 클래스 Xenko.Core.Mathematics.ColorHSV

파일 보기 프로젝트 열기: xen2/stride

공개 메소드들

메소드 설명
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.

메소드 상세

ColorHSV() 공개 메소드

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.
리턴 System

Equals() 공개 메소드

public Equals ( other ) : bool
리턴 bool

Equals() 공개 메소드

public Equals ( object obj ) : bool
obj object
리턴 bool

FromColor() 공개 정적인 메소드

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

GetHashCode() 공개 메소드

public GetHashCode ( ) : int
리턴 int

ToColor() 공개 메소드

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

ToString() 공개 메소드

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

ToString() 공개 메소드

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

ToString() 공개 메소드

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

ToString() 공개 메소드

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