|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sun.j3d.loaders.lw3d.TextfileParser
com.sun.j3d.loaders.lw3d.LwsFog
class LwsFog
This class creates a Fog object from the data in a Scene file.
Field Summary | |
---|---|
(package private) int |
backdropFog
|
(package private) Color3f |
color
|
(package private) Fog |
fogObject
|
(package private) float |
maxAmount
|
(package private) float |
maxDist
|
(package private) float |
minAmount
|
(package private) float |
minDist
|
(package private) int |
type
|
Fields inherited from class com.sun.j3d.loaders.lw3d.TextfileParser |
---|
currentLevel, debugPrinter, EXCEPTION, LINE_TRACE, lineSeparatorChar, MISC, NONE, NUMBER, TIME, TRACE, VALUES, WORD |
Constructor Summary | |
---|---|
LwsFog(java.io.StreamTokenizer st,
int debugVals)
Constructor: parses stream and stores fog data |
Method Summary | |
---|---|
(package private) void |
createJava3dObject()
Creates Java3d Fog object given the fog parameters in the file. |
(package private) Fog |
getObjectNode()
|
(package private) void |
printVals()
|
Methods inherited from class com.sun.j3d.loaders.lw3d.TextfileParser |
---|
checkString, checkType, debugOutput, debugOutputLn, getAndCheckString, getName, getNumber, getString, isCurrentToken, skip, skipUntilString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
float minDist
float maxDist
float minAmount
float maxAmount
int backdropFog
Color3f color
int type
Fog fogObject
Constructor Detail |
---|
LwsFog(java.io.StreamTokenizer st, int debugVals) throws ParsingErrorException
ParsingErrorException
Method Detail |
---|
void createJava3dObject()
Fog getObjectNode()
void printVals()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |