---
Product: Aspose.3D
Platform: python
Page Type: reference
Canonical URL: https://reference.aspose.org/3d/python/keyframe
---

# KeyFrame

## Overview

`KeyFrame` is a class in Aspose.3D FOSS for Python.

KeyFrame properties such as time, value, interpolation, and tangent_weight_mode allow fine‑grained control of animation curves.

This class declares 1 method for KeyFrame objects in Python programs.
Available methods include: `__init__`.
Public members are accessible to any Python application after installing the Aspose.3D FOSS for Python package.
Properties: `bias`, `continuity`, `flat`, `independent_tangent`, `interpolation`, `next_in_tangent`, and 9 more.

## Properties

| Name | Type | Access | Description |
|------|------|--------|-------------|
| `time` | `float` | Read/Write | Gets or sets the time. |
| `value` | `float` | Read/Write | Gets or sets the value. |
| `interpolation` | `Interpolation` | Read/Write | Gets or sets the interpolation. |
| `tangent_weight_mode` | `WeightedMode` | Read/Write | Gets or sets the tangent weight mode. |
| `step_mode` | `StepMode` | Read/Write | Gets or sets the step mode. |
| `next_in_tangent` | `'Vector2'` | Read/Write | Gets or sets the next in tangent. |
| `out_tangent` | `'Vector2'` | Read/Write | Gets or sets the out tangent. |
| `out_weight` | `float` | Read/Write | Gets or sets the out weight. |
| `next_in_weight` | `float` | Read/Write | Gets or sets the next in weight. |
| `tension` | `float` | Read/Write | Gets or sets the tension. |
| `continuity` | `float` | Read/Write | Gets or sets the continuity. |
| `bias` | `float` | Read/Write | Gets or sets the bias. |
| `independent_tangent` | `bool` | Read/Write | Gets or sets the independent tangent. |
| `flat` | `bool` | Read/Write | Gets or sets the flat. |
| `time_independent_tangent` | `bool` | Read/Write | Gets or sets the time independent tangent. |

## Methods

| Signature | Description |
|-----------|-------------|
| `__init__(curve: 'KeyframeSequence', time: float)` | Calls __init__(curve, time) on this KeyFrame instance. |

## See Also

- [Aspose.3D — Enterprise API Reference](https://reference.aspose.com/3d/)