
## add(self, time, value) {#float-float}

Create a new key frame with specified value



```python

def add(self, time, value):
    ...
```


| Parameter | Type | Description |
| :- | :- | :- |
| time | float | Time position(measured in seconds) |
| value | float | The value at this time position |


## add(self, time, value, interpolation) {#float-float-aspose.threed.animation.Interpolation}

Create a new key frame with specified value



```python

def add(self, time, value, interpolation):
    ...
```


| Parameter | Type | Description |
| :- | :- | :- |
| time | float | Time position(measured in seconds) |
| value | float | The value at this time position |
| interpolation | [`Interpolation`](/3d/python-net/aspose.threed.animation/interpolation) | The interpolation type of this key frame |



### See Also
* module [`aspose.threed.animation`](../../)
* class [`AnimationChannel`](/3d/python-net/aspose.threed.animation/animationchannel)
