APIdia Launch Partner
Top Description Fields Constructors Methods
com.badlogic.gdx.graphics.g3d.model

public Class Animation

extends Object
Class Inheritance
Imports
com.badlogic.gdx.graphics.g3d.Model, com.badlogic.gdx.utils.Array

An Animation has an id and a list of NodeAnimation instances. Each NodeAnimation animates a single Node in the Model. Every NodeAnimation is assumed to have the same amount of keyframes, at the same timestamps, as all other node animations for faster keyframe searches.
Author
badlogic

Field Summary

Modifier and TypeField and Description
public float
duration

the duration in seconds

public String
id

the unique id of the animation

public Array<NodeAnimation>
nodeAnimations

the animation curves for individual nodes

Constructor Summary

AccessConstructor and Description
public

Method Summary

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

durationback to summary
public float duration

the duration in seconds

idback to summary
public String id

the unique id of the animation

nodeAnimationsback to summary
public Array<NodeAnimation> nodeAnimations

the animation curves for individual nodes

Constructor Detail

Animationback to summary
public Animation()