gestalt.render.plugin
Class Light

java.lang.Object
  extended by gestalt.shape.AbstractDrawable
      extended by gestalt.render.plugin.Light
All Implemented Interfaces:
Drawable, CameraPlugin
Direct Known Subclasses:
JoglLight

public abstract class Light
extends AbstractDrawable
implements CameraPlugin


Field Summary
 Color ambient
           
 Color diffuse
           
 Vector3f direction
           
 boolean enable
           
static float[] global_ambient
           
 float intesity
           
 Color specular
           
 
Constructor Summary
Light()
           
 
Method Summary
 void begin(GLContext theRenderContext)
           
 int getID()
           
 Vector3f position()
           
 void setPositionRef(Vector3f thePositionRef)
           
 void setType(float theType)
           
 java.lang.String toString()
           
 
Methods inherited from class gestalt.shape.AbstractDrawable
add, getSortData, getSortValue, isActive, isSortable, setSortValue
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface gestalt.shape.material.CameraPlugin
end
 
Methods inherited from interface gestalt.render.Drawable
draw
 

Field Detail

global_ambient

public static float[] global_ambient

ambient

public Color ambient

diffuse

public Color diffuse

specular

public Color specular

direction

public Vector3f direction

intesity

public float intesity

enable

public boolean enable
Constructor Detail

Light

public Light()
Method Detail

position

public Vector3f position()

setPositionRef

public void setPositionRef(Vector3f thePositionRef)

setType

public void setType(float theType)

getID

public int getID()

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

begin

public void begin(GLContext theRenderContext)
Specified by:
begin in interface CameraPlugin


processing library gestalt_p5 by Patrick Kochlik + Dennis Paul. (c) 2009