com.jme3.animation
クラス BoneAnimation

java.lang.Object
  上位を拡張 com.jme3.animation.BoneAnimation
すべての実装されたインタフェース:
Animation, Savable, java.lang.Cloneable

public final class BoneAnimation
extends java.lang.Object
implements Animation, Savable, java.lang.Cloneable

BoneAnimation updates each of its tracks with the skeleton and time to apply the animation.


コンストラクタの概要
BoneAnimation()
          Serialization-only.
BoneAnimation(java.lang.String name, float length)
          Creates a new BoneAnimation with the given name and length.
 
メソッドの概要
 BoneAnimation clone()
           
 float getLength()
          Returns the length in seconds of this animation
 java.lang.String getName()
          The name of the bone animation
 BoneTrack[] getTracks()
          Returns the tracks set in setTracks(com.jme3.animation.BoneTrack[]).
 void read(JmeImporter i)
           
 void setTime(float time, float blendAmount, AnimControl control, AnimChannel channel)
           
 void setTracks(BoneTrack[] tracks)
          Set the BoneTracks to be used by this animation.
 java.lang.String toString()
           
 void write(JmeExporter e)
           
 
クラス java.lang.Object から継承されたメソッド
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

コンストラクタの詳細

BoneAnimation

public BoneAnimation(java.lang.String name,
                     float length)
Creates a new BoneAnimation with the given name and length.

パラメータ:
name - The name of the bone animation.
length - Length in seconds of the bone animation.

BoneAnimation

public BoneAnimation()
Serialization-only. Do not use.

メソッドの詳細

getName

public java.lang.String getName()
The name of the bone animation

定義:
インタフェース Animation 内の getName
戻り値:
name of the bone animation

getLength

public float getLength()
Returns the length in seconds of this animation

定義:
インタフェース Animation 内の getLength
戻り値:
the length in seconds of this animation

setTracks

public void setTracks(BoneTrack[] tracks)
Set the BoneTracks to be used by this animation.

The array should be organized so that the appropriate BoneTrack can be retrieved based on a bone index.

パラメータ:
tracks - The tracks to set.

getTracks

public BoneTrack[] getTracks()
Returns the tracks set in setTracks(com.jme3.animation.BoneTrack[]).

戻り値:
the tracks set previously

setTime

public void setTime(float time,
                    float blendAmount,
                    AnimControl control,
                    AnimChannel channel)
定義:
インタフェース Animation 内の setTime

toString

public java.lang.String toString()
オーバーライド:
クラス java.lang.Object 内の toString

clone

public BoneAnimation clone()
定義:
インタフェース Animation 内の clone
オーバーライド:
クラス java.lang.Object 内の clone

write

public void write(JmeExporter e)
           throws java.io.IOException
定義:
インタフェース Savable 内の write
例外:
java.io.IOException

read

public void read(JmeImporter i)
          throws java.io.IOException
定義:
インタフェース Savable 内の read
例外:
java.io.IOException