com.jme3.animation
クラス Pose

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

public final class Pose
extends java.lang.Object
implements Savable

A pose is a list of offsets that say where a mesh vertices should be for this pose.


コンストラクタの概要
Pose(java.lang.String name, int targetMeshIndex, Vector3f[] offsets, int[] indices)
           
 
メソッドの概要
 void apply(float blend, java.nio.FloatBuffer vertbuf)
          Applies the offsets of this pose to the vertex buffer given by the blend factor.
 int getTargetMeshIndex()
           
 void read(JmeImporter i)
           
 void write(JmeExporter e)
           
 
クラス java.lang.Object から継承されたメソッド
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

コンストラクタの詳細

Pose

public Pose(java.lang.String name,
            int targetMeshIndex,
            Vector3f[] offsets,
            int[] indices)
メソッドの詳細

getTargetMeshIndex

public int getTargetMeshIndex()

apply

public void apply(float blend,
                  java.nio.FloatBuffer vertbuf)
Applies the offsets of this pose to the vertex buffer given by the blend factor.

パラメータ:
blend - Blend factor, 0 = no change to vertex buffer, 1 = apply full offsets
vertbuf - Vertex buffer to apply this pose to

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