| Package | Description |
|---|---|
| com.bonzaiengine.animation | |
| com.bonzaiengine.animation.graph | |
| com.bonzaiengine.model | |
| com.bonzaiengine.model.util | |
| com.bonzaiengine.spline |
| Modifier and Type | Method and Description |
|---|---|
Animation |
Animation.clone() |
static Animation |
Animation.read(ByteInputStream in,
java.lang.String[] strings) |
| Modifier and Type | Method and Description |
|---|---|
float |
AnimationTrack.getStartTime(Animation animation) |
double |
AnimationTrack.getTime(Timeline timeline,
Animation animation) |
void |
KeyFrame.listKeyTimes(java.util.Set<java.lang.Float> timesSet,
Animation anim) |
double |
AnimationTrack.toAnimationTime(Animation animation,
double contextTime) |
double |
AnimationTrack.toTimelineTime(Animation animation,
double animTime) |
void |
AnimationTrack.useAnimation(Animation animation)
Optional: set timeOffset and loop fields according to the specified
Animation |
| Modifier and Type | Method and Description |
|---|---|
Animation |
AnimGraph.getAnimation(java.lang.Object context,
java.lang.String animationName) |
Animation |
AnimNode.getCurrentAnimation()
For internal use, we recommend to use
AnimNode.getAnimationName() |
| Modifier and Type | Method and Description |
|---|---|
static AnimGraph |
AnimGraph.create(Animation animation) |
static AnimGraph |
AnimGraph.create(AnimationTrack[] tracks,
Animation[] animations,
double duration) |
boolean |
AnimGraph.update(Animation animation,
long timePassedMs) |
| Modifier and Type | Field and Description |
|---|---|
Animation |
Motion.animation
Animation
|
| Modifier and Type | Method and Description |
|---|---|
Animation |
AnimationContext.getAnimation() |
Animation |
Model.getAnimation(int index) |
Animation |
Model.getAnimation(java.lang.String animationName) |
Animation |
Model.removeAnimation(int index) |
| Modifier and Type | Method and Description |
|---|---|
void |
Model.addAnimation(Animation animation) |
void |
Model.addAnimation(Animation animation,
JointMotion jointMotion)
|
int |
Model.getAnimationIndex(Animation anim) |
void |
Model.getAnimationKeys(java.util.Set<java.lang.Float> times,
Animation anim) |
JointMotion |
Skeleton.getMotion(Animation animation) |
void |
MorphMotion.listKeyTimes(java.util.Set<java.lang.Float> times,
Animation anim) |
void |
MorphData.listKeyTimes(java.util.Set<java.lang.Float> times,
Animation anim) |
void |
JointMotion.listKeyTimes(java.util.Set<java.lang.Float> times,
Animation anim) |
boolean |
Model.removeAnimation(Animation animation) |
void |
AnimationContext.setAnimation(Animation animation)
Set an
Animation to be used for keyframe, skeletal and morph animation. |
void |
AnimationContext.setTracks(AnimationTrack[] tracks,
Animation[] animations,
double duration)
Animations and tracks array must be the same size
|
| Constructor and Description |
|---|
Motion(Animation animation,
JointMotion jointMotion) |
Motion(Animation animation,
JointMotion jointMotion,
MorphMotion[] morphMotions) |
| Modifier and Type | Method and Description |
|---|---|
static Animation[] |
Utils.getAnimations(Model model) |
| Modifier and Type | Method and Description |
|---|---|
static Array<Animation> |
Utils.getAnimations(Model model,
JointMotion jointMotion) |
static Array<Animation> |
Utils.removeAnimations(Model model,
JointMotion jointMotion)
Remove the specified
JointMotion from this Model.skeleton and
all Animation using the specified JointMotion. |
| Modifier and Type | Method and Description |
|---|---|
static Motion |
Utils.extractMotion(Model model,
Animation animation)
|
static int |
Utils.removeAnimations(Model model,
Animation[] animToRemove)
Remove the specified list of animations
|
| Modifier and Type | Method and Description |
|---|---|
Animation |
SplineAnimator.getAnimation() |
Bonzai Engine 1.3.4 11/12/2015 - A Java OpenGL engine and tools for Windows/Mac/Linux/Android
Copyright © 2007-2015 Jérôme Jouvie bonzaiengine.com contact@bonzaiengine.com