com.jme.scene.geometryinstancing
Class GeometryBatchInstanceAttributes

java.lang.Object
  extended by com.jme.scene.geometryinstancing.instance.GeometryInstanceAttributes
      extended by com.jme.scene.geometryinstancing.GeometryBatchInstanceAttributes

public class GeometryBatchInstanceAttributes
extends GeometryInstanceAttributes

GeometryBatchInstanceAttributes specifies the attributes for a GeometryBatchInstance

Author:
Patrik Lindegrén

Field Summary
protected  ColorRGBA color
           
 
Fields inherited from class com.jme.scene.geometryinstancing.instance.GeometryInstanceAttributes
mtNormal, mtWorld, rotation, scale, translation
 
Constructor Summary
GeometryBatchInstanceAttributes(Vector3f translation, Vector3f scale, Quaternion rotation, ColorRGBA color)
           
 
Method Summary
 ColorRGBA getColor()
          buildMatrices updates the world and rotation matrix
 void setColor(ColorRGBA color)
           
 
Methods inherited from class com.jme.scene.geometryinstancing.instance.GeometryInstanceAttributes
buildMatrices, getNormalMatrix, getRotation, getScale, getTranslation, getWorldMatrix, setRotation, setScale, setTranslation
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

color

protected ColorRGBA color
Constructor Detail

GeometryBatchInstanceAttributes

public GeometryBatchInstanceAttributes(Vector3f translation,
                                       Vector3f scale,
                                       Quaternion rotation,
                                       ColorRGBA color)
Method Detail

getColor

public ColorRGBA getColor()
buildMatrices updates the world and rotation matrix


setColor

public void setColor(ColorRGBA color)