C# Class UnityEngine.Gradient

Inheritance: Object
Show file Open project: CarlosHBC/UnityDecompiled Class Usage Examples

Private Properties

Property Type Description
Cleanup void
Gradient System
INTERNAL_CALL_Evaluate void
INTERNAL_get_constantColor void
INTERNAL_set_constantColor void
Init void
SetKeys void

Public Methods

Method Description
Evaluate ( float time ) : Color

Calculate color at a given time.

Private Methods

Method Description
Cleanup ( ) : void
Gradient ( ) : System
INTERNAL_CALL_Evaluate ( Gradient self, float time, Color &value ) : void
INTERNAL_get_constantColor ( Color &value ) : void
INTERNAL_set_constantColor ( Color &value ) : void
Init ( ) : void
SetKeys ( GradientColorKey colorKeys, GradientAlphaKey alphaKeys ) : void

Method Details

Evaluate() public method

Calculate color at a given time.

public Evaluate ( float time ) : Color
time float Time of the key (0 - 1).
return Color