Animation — Aspose.3D FOSS for Java
Overview
The animation system in Aspose.3D FOSS for Java is a declaration stub. Only the AnimationClip class is available, with constructors and basic properties inherited from A3DObject. Keyframe data, playback, channels, and interpolation are not yet implemented.
The following classes do not exist in this edition: AnimationNode, AnimationChannel, BindPoint, KeyFrame, KeyframeSequence, Interpolation (enum), ExtrapolationType (enum).
All animation classes are in the com.aspose.threed root package.
import com.aspose.threed.*;AnimationClip
A named container for an animation range. A Scene may hold multiple clips. Inherits from A3DObject.
Stub notice:
AnimationClipcan be constructed and named, but keyframe data and playback functionality are not implemented. The class exists to allow format importers to preserve animation clip metadata during round-trip I/O.
Constructor
| Signature | Description |
|---|---|
AnimationClip() | Creates a clip with no name |
AnimationClip(String name) | Creates a clip with the specified name |
Properties
| Name | Type | Getter | Setter | Description |
|---|---|---|---|---|
name | String | getName() | setName(String) | Clip name (e.g. "Walk") |
description | String | getDescription() | setDescription(String) | Optional description |
start | double | getStart() | setStart(double) | Start time in seconds |
stop | double | getStop() | setStop(double) | End time in seconds |
properties | PropertyCollection | getProperties() | – | Custom properties |
Example
import com.aspose.threed.*;
// Create an animation clip (metadata only — no keyframe support)
AnimationClip clip = new AnimationClip("Walk");
clip.setStart(0.0);
clip.setStop(2.0);
System.out.println(clip.getName()); // "Walk"