|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectcolladaLoader.xmlMapping.Effect
class Effect
Lucerne University of Applied Sciences and Arts http://www.hslu.ch
This source is free; you can redistribute it and/or modify it under the terms of the GNU General Public License and by nameing of the originally author
this class maps the effect-tag
Field Summary | |
---|---|
private float[] |
color
|
private boolean |
hasTexture
|
private java.lang.String |
ID
|
private Image |
image
|
Constructor Summary | |
---|---|
Effect(processing.xml.XMLElement effect,
Library_Images images)
|
Method Summary | |
---|---|
(package private) float[] |
getColor()
returns an Array in the Format [red,green,blue,transparent] |
(package private) java.lang.String |
getID()
|
(package private) Image |
getImage()
returns the image of the texture |
(package private) boolean |
hasTexture()
gives the answer if the effect contains a color or an image |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
private java.lang.String ID
private Image image
private float[] color
private boolean hasTexture
Constructor Detail |
---|
Effect(processing.xml.XMLElement effect, Library_Images images)
Method Detail |
---|
java.lang.String getID()
boolean hasTexture()
Image getImage()
float[] getColor()
public java.lang.String toString()
toString
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |