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