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

# KeyFrame

## Overview

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

KeyFrame.KeyFrame creates a new empty key frame instance.

This class provides 2 methods for working with KeyFrame objects in .NET programs.
Available methods include: `KeyFrame`, `ToString`.
All public members are accessible to any .NET application after installing the Aspose.3D FOSS for .NET package.
Properties: `Bias`, `Continuity`, `Flat`, `IndependentTangent`, `Interpolation`, `NextInTangent`, and 9 more.

## Properties

| Name | Type | Access | Description |
|------|------|--------|-------------|
| `Time` | `double` | 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. |
| `TangentWeightMode` | `WeightedMode` | Read/Write | Gets or sets the tangent weight mode. |
| `StepMode` | `StepMode` | Read/Write | Gets or sets the step mode. |
| `NextInTangent` | `Vector2` | Read/Write | Gets or sets the next in tangent. |
| `OutTangent` | `Vector2` | Read/Write | Gets or sets the out tangent. |
| `OutWeight` | `float` | Read/Write | Gets or sets the out weight. |
| `NextInWeight` | `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. |
| `IndependentTangent` | `bool` | Read/Write | Gets or sets the independent tangent. |
| `Flat` | `bool` | Read/Write | Gets or sets the flat. |
| `TimeIndependentTangent` | `bool` | Read/Write | Gets or sets the time independent tangent. |

## Methods

| Signature | Description |
|-----------|-------------|
| `KeyFrame(curve: KeyframeSequence, time: double)` | Creates a key frame with the given time and Vector4 value |
| `ToString()` | Calls ToString on this KeyFrame instance. |

## See Also
- [Aspose.3D for .NET — Enterprise API Reference](https://reference.aspose.com/3d/net/aspose.threed.animation/keyframe/)