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: AnimationClip can 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

SignatureDescription
AnimationClip()Creates a clip with no name
AnimationClip(String name)Creates a clip with the specified name

Properties

NameTypeGetterSetterDescription
nameStringgetName()setName(String)Clip name (e.g. "Walk")
descriptionStringgetDescription()setDescription(String)Optional description
startdoublegetStart()setStart(double)Start time in seconds
stopdoublegetStop()setStop(double)End time in seconds
propertiesPropertyCollectiongetProperties()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"

See Also