public class AnimNode extends GraphNode
| Constructor and Description |
|---|
AnimNode() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getAnimationName() |
Animation |
getCurrentAnimation()
For internal use, we recommend to use
getAnimationName() |
float |
getCurrentSpeed() |
double |
getCurrentTime() |
float |
getCurrentWeight() |
double |
getTimelineTime(float trackTime) |
AnimationTrack |
getTrack() |
boolean |
isInputActive(int inputIndex) |
boolean |
isTrackActive() |
void |
setAnimationName(java.lang.String animationName) |
void |
setTrack(AnimationTrack track) |
public boolean isInputActive(int inputIndex)
isInputActive in class GraphNodeGraphNode.isActive().GraphNode.isActive() and GraphNode.isInputActive(int) returns true.GraphNode.isActive()public double getTimelineTime(float trackTime)
trackTime - AnimationTrack timeTimelinepublic final void setTrack(AnimationTrack track)
public final AnimationTrack getTrack()
public void setAnimationName(java.lang.String animationName)
public final java.lang.String getAnimationName()
public Animation getCurrentAnimation()
getAnimationName()Animation corresponding to the specified animation name.getAnimationName() and look into the Model
to get the Animation reference.setAnimationName(String),
getAnimationName()public final double getCurrentTime()
public final float getCurrentWeight()
public final float getCurrentSpeed()
public final boolean isTrackActive()
AnimationContext as a non 0 weight and a valid animation timeBonzai 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