com.badlogic.gdx.graphics.g3d.model
Class NodePart

java.lang.Object
  extended by com.badlogic.gdx.graphics.g3d.model.NodePart

public class NodePart
extends Object

A combination of MeshPart and Material, used to represent a Node's graphical properties

Author:
badlogic

Field Summary
 Matrix4[] bones
           
 ArrayMap<Node,Matrix4> invBoneBindTransforms
           
 Material material
           
 MeshPart meshPart
           
 
Constructor Summary
NodePart()
           
NodePart(MeshPart meshPart, Material material)
           
 
Method Summary
 Renderable setRenderable(Renderable out)
          Convenience method to set the material, meshpart and bones values of the renderable.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

meshPart

public MeshPart meshPart

material

public Material material

invBoneBindTransforms

public ArrayMap<Node,Matrix4> invBoneBindTransforms

bones

public Matrix4[] bones
Constructor Detail

NodePart

public NodePart()

NodePart

public NodePart(MeshPart meshPart,
                Material material)
Method Detail

setRenderable

public Renderable setRenderable(Renderable out)
Convenience method to set the material, meshpart and bones values of the renderable.



Copyright © 2013. All Rights Reserved.