C# Class UEx.ColorSpace.HSL

Mostra file Open project: jbruening/unity3d-extensions

Public Properties

Property Type Description
H float
L float
S float

Public Methods

Method Description
FromColor ( Color color ) : HSL
ToColor ( ) : Color

Private Methods

Method Description
Hue2Rgb ( float p, float q, float t ) : float

Method Details

FromColor() public static method

public static FromColor ( Color color ) : HSL
color UnityEngine.Color
return HSL

ToColor() public method

public ToColor ( ) : Color
return UnityEngine.Color

Property Details

H public_oe property

public float H
return float

L public_oe property

public float L
return float

S public_oe property

public float S
return float