gov.nasa.worldwind.ogc.collada
Class ColladaTechnique
java.lang.Object
gov.nasa.worldwind.util.xml.AbstractXMLEventParser
gov.nasa.worldwind.ogc.collada.ColladaAbstractObject
gov.nasa.worldwind.ogc.collada.ColladaAbstractParamContainer
gov.nasa.worldwind.ogc.collada.ColladaTechnique
- All Implemented Interfaces:
- XMLEventParser
public class ColladaTechnique
- extends ColladaAbstractParamContainer
Represents the COLLADA technique element and provides access to its contents.
| 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, setFields, setParent |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ColladaTechnique
public ColladaTechnique(String ns)
- Construct an instance.
- Parameters:
ns - the qualifying namespace URI. May be null to indicate no namespace qualification.
getProfile
public String getProfile()
- Indicates the value of the profile field.
- Returns:
- The value of the profile field, or null if the field is not set.
getShader
public ColladaAbstractShader getShader()
- Indicates the shader contained by the technique. Supported shaders are lambert and phong.
- Returns:
- The shader for this technique, or null if the shader is not set, or is not supported.