Class Pose

java.lang.Object
com.jme3.animation.Pose
All Implemented Interfaces:
Savable, Cloneable

@Deprecated public final class Pose extends Object implements Savable, Cloneable
Deprecated.
A pose is a list of offsets that say where a mesh vertices should be for this pose.
  • Constructor Details

    • Pose

      public Pose(String name, int targetMeshIndex, Vector3f[] offsets, int[] indices)
      Deprecated.
    • Pose

      protected Pose()
      Deprecated.
      Serialization-only. Do not use.
  • Method Details

    • getTargetMeshIndex

      public int getTargetMeshIndex()
      Deprecated.
    • apply

      public void apply(float blend, FloatBuffer vertexBuffer)
      Deprecated.
      Applies the offsets of this pose to the vertex buffer given by the blend factor.
      Parameters:
      blend - Blend factor, 0 = no change to vertex buffer, 1 = apply full offsets
      vertexBuffer - Vertex buffer to apply this pose to
    • clone

      public Pose clone()
      Deprecated.
      This method creates a clone of the current object.
      Overrides:
      clone in class Object
      Returns:
      a clone of the current object
    • write

      public void write(JmeExporter e) throws IOException
      Deprecated.
      Specified by:
      write in interface Savable
      Throws:
      IOException
    • read

      public void read(JmeImporter i) throws IOException
      Deprecated.
      Specified by:
      read in interface Savable
      Throws:
      IOException