C# 클래스 LibNoise.Gradient

Provides a color gradient.
파일 보기 프로젝트 열기: simonwittber/LibNoise-Unity 1 사용 예제들

공개 메소드들

메소드 설명
Clear ( ) : void

Clears the gradient to transparent black.

Gradient ( Color color ) : System

Initializes a new instance of Gradient.

Gradient ( Color start, Color end ) : System

Initializes a new instance of Gradient.

Invert ( ) : void

Inverts the gradient.

this ( float position ) : Color

Gets or sets a gradient step by its position.

비공개 메소드들

메소드 설명
Gradient ( ) : System

Initializes a new instance of Gradient.

메소드 상세

Clear() 공개 메소드

Clears the gradient to transparent black.
public Clear ( ) : void
리턴 void

Gradient() 공개 메소드

Initializes a new instance of Gradient.
public Gradient ( Color color ) : System
color Color
리턴 System

Gradient() 공개 메소드

Initializes a new instance of Gradient.
public Gradient ( Color start, Color end ) : System
start Color
end Color
리턴 System

Invert() 공개 메소드

Inverts the gradient.
public Invert ( ) : void
리턴 void

this() 공개 메소드

Gets or sets a gradient step by its position.
public this ( float position ) : Color
position float The position of the gradient step.
리턴 Color