Trees | Indices | Help |
|
---|
|
object --+ | ??.instance --+ | SceneObject --+ | Appearance --+ | Material
The material of an object. It determine the way light reflect off an object to create color.
Instance Methods | |||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
Inherited from Inherited from Inherited from |
Class Variables | |
__instance_size__ = 12
|
|
__safe_for_unpickling__ = True
|
Properties | |
DEFAULT_AMBIENT | |
DEFAULT_DIFFUSE | |
DEFAULT_EMISSION | |
DEFAULT_MATERIAL | |
DEFAULT_SHININESS | |
DEFAULT_SPECULAR | |
DEFAULT_TRANSPARENCY | |
ambient | |
diffuse | |
emission | |
shininess | |
specular | |
transparency | |
Inherited from Inherited from |
Method Details |
__getinitargs__( (Material)arg1) -> tuple : C++ signature : class boost::python::tuple __getinitargs__(class PGL::Material) |
__init__( (object)arg1, (Material)arg2) -> None : C++ signature : void __init__(struct _object *,class PGL::Material) __init__( (object)arg1 [, (Color3)ambient [, (float)diffuse [, (Color3)specular [, (Color3)emission [, (float)shininess [, (float)transparency]]]]]]) -> None : Material( ambient=Color3(160,160,160),diffuse=1,specular=Color3(40,40,40),emission=Color3(0,0,0),shininess=1,transparency=0) C++ signature : void __init__(struct _object * [,class PGL::Color3 [,double [,class PGL::Color3 [,class PGL::Color3 [,double [,double]]]]]]) __init__( (object)arg1, (str)name [, (Color3)ambient [, (float)diffuse [, (Color3)specular [, (Color3)emission [, (float)shininess [, (float)transparency]]]]]]) -> None : Material( name,ambient=Color3(160,160,160),diffuse=1,specular=Color3(40,40,40),emission=Color3(0,0,0),shininess=1,transparency=0) C++ signature : void __init__(struct _object *,class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > [,class PGL::Color3 [,double [,class PGL::Color3 [,class PGL::Color3 [,double [,double]]]]]])
|
__repr__( (Material)arg1) -> str : C++ signature : class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > __repr__(class PGL::Material *)
|
__str__( (Material)arg1) -> str : C++ signature : class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > __str__(class PGL::Material *)
|
isAmbientToDefault( (Material)arg1) -> bool : C++ signature : bool isAmbientToDefault(class PGL::Material {lvalue}) |
isDiffuseToDefault( (Material)arg1) -> bool : C++ signature : bool isDiffuseToDefault(class PGL::Material {lvalue}) |
isEmissionToDefault( (Material)arg1) -> bool : C++ signature : bool isEmissionToDefault(class PGL::Material {lvalue}) |
isShininessToDefault( (Material)arg1) -> bool : C++ signature : bool isShininessToDefault(class PGL::Material {lvalue}) |
isSimilar( (Material)arg1, (Material)arg2) -> bool : C++ signature : bool isSimilar(class PGL::Material {lvalue},class PGL::Material) |
isSpecularToDefault( (Material)arg1) -> bool : C++ signature : bool isSpecularToDefault(class PGL::Material {lvalue}) |
isTransparencyToDefault( (Material)arg1) -> bool : C++ signature : bool isTransparencyToDefault(class PGL::Material {lvalue}) |
Property Details |
DEFAULT_AMBIENT
|
DEFAULT_DIFFUSE
|
DEFAULT_EMISSION
|
DEFAULT_MATERIAL
|
DEFAULT_SHININESS
|
DEFAULT_SPECULAR
|
DEFAULT_TRANSPARENCY
|
ambient
|
diffuse
|
emission
|
shininess
|
specular
|
transparency
|
Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Wed Jul 16 15:52:17 2008 | http://epydoc.sourceforge.net |