libgdx API

com.badlogic.gdx.graphics.g3d.model.skeleton
Class SkeletonSubMesh

java.lang.Object
  extended by com.badlogic.gdx.graphics.g3d.model.SubMesh
      extended by com.badlogic.gdx.graphics.g3d.model.skeleton.SkeletonSubMesh

public class SkeletonSubMesh
extends SubMesh


Field Summary
 int[][] boneAssignments
           
 float[][] boneWeights
           
 short[] indices
           
 float[] skinnedVertices
           
 float[] vertices
           
 
Fields inherited from class com.badlogic.gdx.graphics.g3d.model.SubMesh
material, mesh, name, primitiveType
 
Constructor Summary
SkeletonSubMesh(java.lang.String name, Mesh mesh, int primitiveType)
           
 
Method Summary
 void getBoundingBox(BoundingBox bbox)
          Obtain the BoundingBox of this SubMesh.
 void setIndices(short[] indices)
           
 void setVertices(float[] vertices)
           
 
Methods inherited from class com.badlogic.gdx.graphics.g3d.model.SubMesh
getMesh, setMesh
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

indices

public short[] indices

vertices

public float[] vertices

skinnedVertices

public float[] skinnedVertices

boneAssignments

public int[][] boneAssignments

boneWeights

public float[][] boneWeights
Constructor Detail

SkeletonSubMesh

public SkeletonSubMesh(java.lang.String name,
                       Mesh mesh,
                       int primitiveType)
Method Detail

getBoundingBox

public void getBoundingBox(BoundingBox bbox)
Description copied from class: SubMesh
Obtain the BoundingBox of this SubMesh.

Specified by:
getBoundingBox in class SubMesh
Parameters:
bbox - This BoundingBox will be modified so that its contain values that are the bounding box for this SubMesh.

setVertices

public void setVertices(float[] vertices)

setIndices

public void setIndices(short[] indices)

libgdx API

Copyright 2010 Mario Zechner (contact@badlogicgames.com), Nathan Sweet (admin@esotericsoftware.com)