Struct KeyColor
Namespace: Unity.Tiny.Interpolation
Syntax
public struct KeyColor : IBufferElementData, IKey
Constructors
KeyColor(Single, Color)
Declaration
public KeyColor(float time, Color value)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Single | time | |
| Color | value |
Fields
time
Declaration
public float time
Field Value
| Type | Description |
|---|---|
| System.Single |
value
Declaration
public Color value
Field Value
| Type | Description |
|---|---|
| Color |
Methods
GetTime()
Declaration
public float GetTime()
Returns
| Type | Description |
|---|---|
| System.Single |