![]() |
Overloaded. Initializes a new instance of the Material class. |
![]() | For every material a Name is given, how describes the material. It can be void. |
![]() | Retrieves and sets the ambient part. |
![]() | Retrieves and sets the diffuse part. |
![]() | Retrieves and sets the emission part. |
![]() | Retrieves and sets the Shininessvalue. |
![]() | Retrieves and sets the specular part. |
![]() | Retrieves and sets the translucentvalue. It must be between 0 ( translucent ) and 1 ( solid) |
![]() | Sets the meterialproperties to an other material |
![]() | |
![]() | |
![]() | |
![]() | |
![]() | This method should be overridden for a real graphicengine. Further a call to the event Changed is done. |
![]() | Should be called at end of a change of materialproperties in combination of Updating |
![]() | If you want to change properties of the material, please use at first Updating and at least Updated. These guaranties that only one time an Update-call is fired. // Sample Material m = new Material(); m.Updating(); m.Ambient = Color.Red; m.Specular = Color.Blue; . . m.Updated(); // now the virtual method Update will be called |
![]() | This event is fired every time, when a property of a material has changed |
![]() | |
![]() | Getmethod of the property Ambient |
![]() | Virtual getmethod of Diffuse-property |
![]() | Virtual getmethod of Emission-property |
![]() | Virtual getmethod of Shininess-property |
![]() | Virtual getmethod of Specular-property |
![]() | Virtual getmethod of Translucent-property |
![]() | |
![]() | Virtual setmethod of the property Ambient. |
![]() | Virtual setmethod of Diffuse-property |
![]() | Virtual setmethod of Emission-property |
![]() | Virtual setmethod of Shininess-property |
![]() | Virtual setmethod of Specular-property |
![]() | Virtual setmethod of Translucent-property |