Package 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.
-
-
Field Summary
-
Fields inherited from class gov.nasa.worldwind.ogc.collada.ColladaAbstractParamContainer
newParams
-
Fields inherited from class gov.nasa.worldwind.util.xml.AbstractXMLEventParser
CHARACTERS_CONTENT, fields, namespaceURI, parent
-
-
Constructor Summary
Constructors Constructor Description ColladaTechnique(java.lang.String ns)
Construct an instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getProfile()
Indicates the value of the profile field.ColladaAbstractShader
getShader()
Indicates the shader contained by the technique.-
Methods inherited from class gov.nasa.worldwind.ogc.collada.ColladaAbstractParamContainer
getParam, setField
-
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, setFields, setNamespaceURI, setParent
-
-
-
-
Method Detail
-
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.
-
getProfile
public java.lang.String getProfile()
Indicates the value of the profile field.- Returns:
- The value of the profile field, or null if the field is not set.
-
-