com.jme.scene.shadow
Class ShadowTriangle

java.lang.Object
  extended by com.jme.scene.shadow.ShadowTriangle
All Implemented Interfaces:
Savable

public class ShadowTriangle
extends java.lang.Object
implements Savable

ShadowTriangle A class that holds the edge information of a single face (triangle) of an occluder

Version:
$Id: ShadowTriangle.java 4131 2009-03-19 20:15:28Z blaine.dev $
Author:
Mike Talbot (some code from a shadow implementation written Jan 2005), Joshua Slack

Field Summary
 ShadowEdge edge1
           
 ShadowEdge edge2
           
 ShadowEdge edge3
           
static int INVALID_TRIANGLE
          INVALID_TRIANGLE (int) indicates that an edge is not connected
 
Constructor Summary
ShadowTriangle()
           
 
Method Summary
 java.lang.Class getClassTag()
           
 void read(JMEImporter e)
           
 void write(JMEExporter e)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

INVALID_TRIANGLE

public static final int INVALID_TRIANGLE
INVALID_TRIANGLE (int) indicates that an edge is not connected

See Also:
Constant Field Values

edge1

public ShadowEdge edge1

edge2

public ShadowEdge edge2

edge3

public ShadowEdge edge3
Constructor Detail

ShadowTriangle

public ShadowTriangle()
Method Detail

write

public void write(JMEExporter e)
           throws java.io.IOException
Specified by:
write in interface Savable
Throws:
java.io.IOException

read

public void read(JMEImporter e)
          throws java.io.IOException
Specified by:
read in interface Savable
Throws:
java.io.IOException

getClassTag

public java.lang.Class getClassTag()
Specified by:
getClassTag in interface Savable