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.AbstractXMLEventParser
CHARACTERS_CONTENT, fields, namespaceURI, parent
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedColladaAbstractShader(java.lang.String namespaceURI)Construct an instance.
-
Method Summary
All 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.ColladaAbstractObject
getLocalExtent, getRoot
-
Methods inherited from class gov.nasa.worldwind.util.xml.AbstractXMLEventParser
allocate, 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
-
getEmission
public ColladaTextureOrColor getEmission()
Indicates the shader's emission parameter.- Returns:
- The emission parameter, or null if none is set.
-
getAmbient
public ColladaTextureOrColor getAmbient()
Indicates the shader's ambient parameter.- Returns:
- The ambient parameter, or null if none is set.
-
getDiffuse
public ColladaTextureOrColor getDiffuse()
Indicates the shader's diffuse parameter.- Returns:
- The diffuse parameter, or null if none is set.
-
getSpecular
public ColladaTextureOrColor getSpecular()
Indicates the shader's specular parameter.- Returns:
- The specular parameter, or null if none is set.
-
-