C# 클래스 FairyGUI.ColorFilter

상속: IFilter
파일 보기 프로젝트 열기: fairygui/FairyGUI-unity 1 사용 예제들

공개 메소드들

메소드 설명
AdjustBrightness ( float value ) : void

Changes the brightness. Typical values are in the range (-1, 1). Values above zero will make the image brighter, values below zero will make it darker.

AdjustContrast ( float value ) : void

Changes the contrast. Typical values are in the range (-1, 1). Values above zero will raise, values below zero will reduce the contrast.

AdjustHue ( float value ) : void

Changes the hue of the image. Typical values are in the range (-1, 1).

AdjustSaturation ( float sat ) : void

Changes the saturation. Typical values are in the range (-1, 1). Values above zero will raise, values below zero will reduce the saturation. '-1' will produce a grayscale image.

ColorFilter ( ) : System
ConcatValues ( ) : void

Dispose ( ) : void
Invert ( ) : void
Reset ( ) : void

Changes the filter matrix back to the identity matrix

Tint ( Color color, float amount = 1.0f ) : void

Tints the image in a certain color, analog to what can be done in Adobe Animate.

Update ( ) : void

비공개 메소드들

메소드 설명
UpdateMatrix ( ) : void

메소드 상세

AdjustBrightness() 공개 메소드

Changes the brightness. Typical values are in the range (-1, 1). Values above zero will make the image brighter, values below zero will make it darker.
public AdjustBrightness ( float value ) : void
value float
리턴 void

AdjustContrast() 공개 메소드

Changes the contrast. Typical values are in the range (-1, 1). Values above zero will raise, values below zero will reduce the contrast.
public AdjustContrast ( float value ) : void
value float
리턴 void

AdjustHue() 공개 메소드

Changes the hue of the image. Typical values are in the range (-1, 1).
public AdjustHue ( float value ) : void
value float
리턴 void

AdjustSaturation() 공개 메소드

Changes the saturation. Typical values are in the range (-1, 1). Values above zero will raise, values below zero will reduce the saturation. '-1' will produce a grayscale image.
public AdjustSaturation ( float sat ) : void
sat float
리턴 void

ColorFilter() 공개 메소드

public ColorFilter ( ) : System
리턴 System

ConcatValues() 공개 메소드

public ConcatValues ( ) : void
리턴 void

Dispose() 공개 메소드

public Dispose ( ) : void
리턴 void

Invert() 공개 메소드

public Invert ( ) : void
리턴 void

Reset() 공개 메소드

Changes the filter matrix back to the identity matrix
public Reset ( ) : void
리턴 void

Tint() 공개 메소드

Tints the image in a certain color, analog to what can be done in Adobe Animate.
public Tint ( Color color, float amount = 1.0f ) : void
color Color the RGB color with which the image should be tinted.
amount float the intensity with which tinting should be applied. Range (0, 1).
리턴 void

Update() 공개 메소드

public Update ( ) : void
리턴 void