Retrieves the length of the texture unit state array from
this appearance object. The length of this array specifies the
maximum number of texture units that will be used by this
appearance object. If the array is null, a count of 0 is
returned.
Retrieves the array of texture unit state objects from this
Appearance object. A shallow copy of the array of references to
the TextureUnitState objects is returned.
Returns the hashcode for this object.
hashcode should be constant for object but same for two objects
if .equals() is true. For an appearance (where .equals() is going
to use the values in the appearance), the only way to have a
constant value is for all appearances to have the same hashcode, so
we use the hashcode of the class obj.
Since hashCode is only used by AppearanceMap (at present) we may be
able to improve efficency by calcing a hashCode from the values.
Set the material object to the specified object.
Parameters: material - object that specifies the desired material exception: IllegalSharingException - properties
Sets the texCoordGeneration object to the specified object.
Parameters: texCoordGeneration - object that specifies the texture coordinategeneration parameters
Sets the transparencyAttrbutes object to the specified object.
Parameters: transparencyAttributes - object that specifies the desired textureattributes