public class ColladaTextureOrColor extends ColladaAbstractObject
CHARACTERS_CONTENT, fields, namespaceURI, parent
Constructor and Description |
---|
ColladaTextureOrColor(java.lang.String ns)
Construct an instance.
|
Modifier and Type | Method and Description |
---|---|
java.awt.Color |
getColor()
Indicates the value of the color field.
|
ColladaTexture |
getTexture()
Indicates the value of the texture field.
|
protected float[] |
parseFloatArray(java.lang.String floatArrayString)
Parse a string of floats into a float[]
|
getLocalExtent, getRoot
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
public ColladaTextureOrColor(java.lang.String ns)
ns
- the qualifying namespace URI. May be null to indicate no namespace qualification.public java.awt.Color getColor()
public ColladaTexture getTexture()
protected float[] parseFloatArray(java.lang.String floatArrayString)
floatArrayString
- String of floats, separated by whitespace.