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