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

# KeyframeSequence

## Overview

`KeyframeSequence` is a class in Aspose.3D FOSS for Java.
Inherits from: `A3DObject`, `Iterable<KeyFrame>`.

The sequence of key-frames, it describes the transformation of a sampled value over time.

This class provides 20 methods for working with KeyframeSequence objects in Java programs.
Available methods include: `A3DObject`, `KeyframeSequence`, `add`, `findProperty`, `getBindPoint`, `getKeyFrames`, `getName`, `getPostBehavior`, `getPreBehavior`, `getProperties`, `getProperty`, `iterator`, and 4 additional methods.
All public members are accessible to any Java application after installing the Aspose.3D FOSS for Java package.
Properties: `bindPoint`, `keyFrames`, `name`, `postBehavior`, `preBehavior`, `properties`.

## Properties

| Name | Type | Access | Description |
|------|------|--------|-------------|
| `bindPoint` | `BindPoint` | Read | Gets the property bind point which owns this curve
 / |
| `keyFrames` | `List<KeyFrame>` | Read | Gets the key frames of this curve. |
| `postBehavior` | `Extrapolation` | Read | Gets the post behavior indicates what the sampled value should be after the last key frame. |
| `preBehavior` | `Extrapolation` | Read | Gets the pre behavior indicates what the sampled value should be before the first key. |
| `name` | `String` | Read/Write | Gets or sets the name. |
| `properties` | `PropertyCollection` | Read | Gets the properties. |

## Methods

| Signature | Description |
|-----------|-------------|
| `KeyframeSequence()` | Calls KeyframeSequence on this KeyframeSequence instance. |
| `KeyframeSequence(name: String)` | Calls KeyframeSequence(name) on this KeyframeSequence instance. |
| `getBindPoint()` → `BindPoint` | Gets the property bind point which owns this curve
 / |
| `getKeyFrames()` → `List<KeyFrame>` | Gets the key frames of this curve. |
| `getPostBehavior()` → `Extrapolation` | Gets the post behavior indicates what the sampled value should be after the last key frame. |
| `getPreBehavior()` → `Extrapolation` | Gets the pre behavior indicates what the sampled value should be before the first key. |
| `add(time: double, value: float)` | Create a new key frame with specified value
 / |
| `add(time: double, value: float, interpolation: Interpolation)` | Create a new key frame with specified value
 / |
| `reset()` | Removes all key frames and reset the post/pre behaviors. |
| `iterator()` → `Iterator<KeyFrame>` | Gets the enumerator to traverse all key frames. |
| `A3DObject()` | Calls A3DObject on this KeyframeSequence instance. |
| `A3DObject(name: String)` | Calls A3DObject(name) on this KeyframeSequence instance. |
| `getName()` → `String` | Returns the name. |
| `setName(name: String)` | Sets the name value. |
| `getProperties()` → `PropertyCollection` | Returns the properties. |
| `findProperty(name: String)` → `Property` | Calls findProperty(name) on this KeyframeSequence instance. |
| `getProperty(name: String)` → `Object` | Calls getProperty(name) on this KeyframeSequence instance. |
| `setProperty(name: String, value: Object)` | Gets the key frames of this curve. |
| `removeProperty(name: String)` → `boolean` | Calls removeProperty(name) on this KeyframeSequence instance. |
| `removeProperty(property: Property)` → `boolean` | Calls removeProperty(property) on this KeyframeSequence instance. |

## See Also
- [Aspose.3D for Java — Enterprise API Reference](https://reference.aspose.com/3d/java/com.aspose.threed/keyframesequence/)