Create an instance of a blank appearance object.
|
|
|
__init__()
x.__init__(...) initializes x; see help(type(x)) for signature |
|
|
a new object with type S, a subtype of T
|
|
float or None
|
getAlpha()
This routine retrieves the alpha (1-transparency) of this Appearance. |
|
|
tuple of float or None
|
getColorAmbient()
This routine retrieves ambient the color of this Appearance as r g b
values between 0.0 and 1.0.This will return None if it
did not have a color ambient associated with it. |
|
|
tuple of float or None
|
getColorDiffuse()
This routine retrieves Diffuse the color of this Appearance as r g b
values between 0.0 and 1.0. |
|
|
tuple of float or None
|
getColorEmissive()
This routine retrieves Emissive the color of this Appearance as r g b
values between 0.0 and 1.0. |
|
|
tuple of float or None
|
getColorSpecular()
This routine retrieves specular the color of this Appearance as r g b
values between 0.0 and 1.0 This will return None if it
did not have a color specular associated with it. |
|
|
int or None
|
getMapperReference(mapperType)
This routine retrieves the texture reference of mapperType of this
Appearance. |
|
|
unicode or None
|
getName()
This routine retrieves the 'name' of this Appearance as a unicode
string. |
|
|
float or None
|
getShininess()
This routine retrieves the Shininess of this Appearance. |
|
|
int or None
|
|
None
|
removeMapperReference(mapperType)
This routine removes the specified mapper reference from this
Appearance. |
|
|
None
|
removeTextureReference()
This routine removes the main texture reference from this Appearance. |
|
|
None
|
setAlpha(alpha)
This routine sets the alpha of this Appearance. |
|
|
None
|
setColorAmbient(r,
g,
b)
This routine sets the Ambient color of this Appearance. |
|
|
None
|
setColorDiffuse(r,
g,
b)
This routine sets the Diffuse color of this Appearance. |
|
|
None
|
setColorEmissive(r,
g,
b)
This routine sets the Emissive color of this Appearance. |
|
|
None
|
setColorSpecular(r,
g,
b)
This routine sets the Specular color of this Appearance. |
|
|
bool
|
setMapperReference(mapperType,
textureReference)
This routine sets a Mapper that modifies this Appearance. |
|
|
None
|
setName(name)
This routine sets the 'name' of this Appearance with a unicode
string. |
|
|
None
|
setShininess(shininess)
This routine sets the Shininess of this Appearance. |
|
|
bool
|
setTextureReference(textureReference)
This routine sets the main texture reference of this Appearance. |
|
|
Inherited from object :
__delattr__ ,
__format__ ,
__getattribute__ ,
__hash__ ,
__reduce__ ,
__reduce_ex__ ,
__repr__ ,
__setattr__ ,
__sizeof__ ,
__str__ ,
__subclasshook__
|