Package gov.nasa.worldwind.ogc.collada
Class ColladaAbstractShader
- java.lang.Object
- 
- gov.nasa.worldwind.util.xml.AbstractXMLEventParser
- 
- gov.nasa.worldwind.ogc.collada.ColladaAbstractObject
- 
- gov.nasa.worldwind.ogc.collada.ColladaAbstractShader
 
 
 
- 
- All Implemented Interfaces:
- XMLEventParser
 - Direct Known Subclasses:
- ColladaLambert,- ColladaPhong
 
 public class ColladaAbstractShader extends ColladaAbstractObject Base class for COLLADA shaders.
- 
- 
Field Summary- 
Fields inherited from class gov.nasa.worldwind.util.xml.AbstractXMLEventParserCHARACTERS_CONTENT, fields, namespaceURI, parent
 
- 
 - 
Constructor SummaryConstructors Modifier Constructor Description protectedColladaAbstractShader(java.lang.String namespaceURI)Construct an instance.
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description ColladaTextureOrColorgetAmbient()Indicates the shader's ambient parameter.ColladaTextureOrColorgetDiffuse()Indicates the shader's diffuse parameter.ColladaTextureOrColorgetEmission()Indicates the shader's emission parameter.ColladaTextureOrColorgetSpecular()Indicates the shader's specular parameter.- 
Methods inherited from class gov.nasa.worldwind.ogc.collada.ColladaAbstractObjectgetLocalExtent, getRoot
 - 
Methods inherited from class gov.nasa.worldwind.util.xml.AbstractXMLEventParserallocate, doAddCharacters, doAddEventAttribute, doAddEventContent, doParseEventAttributes, doParseEventContent, freeResources, getAConstructor, getCharacters, getField, getField, getFields, getNamespaceURI, getParent, hasField, hasField, hasFields, mergeFields, newInstance, overrideFields, parse, parseCharacterContent, removeField, setField, setField, setFields, setNamespaceURI, setParent
 
- 
 
- 
- 
- 
Method Detail- 
getEmissionpublic ColladaTextureOrColor getEmission() Indicates the shader's emission parameter.- Returns:
- The emission parameter, or null if none is set.
 
 - 
getAmbientpublic ColladaTextureOrColor getAmbient() Indicates the shader's ambient parameter.- Returns:
- The ambient parameter, or null if none is set.
 
 - 
getDiffusepublic ColladaTextureOrColor getDiffuse() Indicates the shader's diffuse parameter.- Returns:
- The diffuse parameter, or null if none is set.
 
 - 
getSpecularpublic ColladaTextureOrColor getSpecular() Indicates the shader's specular parameter.- Returns:
- The specular parameter, or null if none is set.
 
 
- 
 
-