: Class Light
Class Tree Index Help PREV CLASS NEXT CLASS FRAMES NO FRAMES SUMMARY: INNER | FIELD | CONSTR | METHOD DETAIL: FIELD | CONSTR | METHOD Class Light
java.lang.Object
|
+--Light
Direct Known Subclasses: DirectionalLight, PointLight public abstract class Light extends java.lang.Object Light superclass Each type of light must extend and implement this class. Field Summary Colour Intensity Holds the colour of this light Constructor Summary Light() Method Summary abstract void print(SceneWriter os) Print a human readable version of the light definition to the given destination abstract void read(SceneReader is) Read the light from the given source abstract void write(SceneWriter os) Write the light to the given destination Methods inherited from class java.lang.Object clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait Field Detail Intensity
public Colour Intensity Holds the colour of this light Constructor Detail Light
public Light() Method Detail read
public abstract void read(SceneReader is)
throws java.io.IOException,
java.lang.NumberFormatException Read the light from the given source Parameters: is - the source to read from Throws: java.io.IOException - if the light can not be read java.io.NumberFormatException - if there a number format error is encountered write
public abstract void write(SceneWriter os)
throws java.io.IOException Write the light to the given destination Parameters: os - the destination to write to Throws: java.io.IOException - if the write fails. print
public abstract void print(SceneWriter os)
throws java.io.IOException Print a human readable version of the light definition to the given destination Parameters: os - the destination to write to Throws: java.io.IOException - if the write fails. Class Tree Index Help PREV CLASS NEXT CLASS FRAMES NO FRAMES SUMMARY: INNER | FIELD | CONSTR | METHOD DETAIL: FIELD | CONSTR | METHOD