Light Constructor | The constructor initiailize the light by the folowing values ConstantAttenuation =10 LinearAttenuation =0 QuadraticAttenuation=0 Diffuse = White Ambient = White Specular = White Position = (0,0,10); |
Ambient | Retrieves and sets the ambient part of the light |
ConstantAttenuation | Retrieves and sets the constant attenuation |
Device | Holds the device, in which the light is used. |
Diffuse | |
Direction | Retrieves or writes the direction of the light |
Enable | Before you call an UpDate you mus enable the light |
LinearAttenuation | Retrieves and sets the linear attenuation |
Position | Reads and writes the position of the light |
QuadraticAttenuation | Retrieves and sets the quadratic attenuation |
Specular | |
SpotCutOff | Retrieves and sets the angle of a spotlight. The default is PI. This means that the light is not a spot. |
SpotExponent | Retrieves and sets the exponent for a spotlight |
Equals (inherited from Object) | |
GetHashCode (inherited from Object) | |
GetType (inherited from Object) | |
ToString (inherited from Object) | |
UpDate | This abstract method must be overriden. She moves the data to the graphicengine. |
UpDated | If you change more than one property of a light use at the begin UpDating and at the end UpDated. This ensures, that the method UpDate will be called only one time. UpDating(); Ambient = Colors.White; Specular = Colors.Blue; .. UpDated(); |
UpDating | If you change more than one property of a light use at the begin UpDating and at the end UpDated. This ensures, that the method UpDate will be called only one time. UpDating(); Ambient = Colors.White; Specular = Colors.Blue; .. UpDated(); |
Finalize (inherited from Object) | |
getAmbient | virtual getmethod of the property Ambient |
getDiffuse | virtual getmethod of the property Diffuse |
getDirection | The virtual getMethod of the property Direction |
getPosition | The virtual getMethod of the property Position |
getSpecular | virtual getmethod of the property Specular |
getSpotCutOff | Virtual getmethod of the property SpotCutOff |
getSpotExponent | The virtual getMethod of the property SpotExponent |
MemberwiseClone (inherited from Object) | |
setAmbient | virtual setmethod of the property Ambient |
SetDevice | Protected setmethod of the property Device. |
setDiffuse | virtual setmethod of the property Diffuse |
setDirection | The virtual setMethod of the property Direction |
SetEnable | Virtual SetMethod of the property Enable |
setPosition | The virtual setMethod of the property Position |
setSpecular | virtual setmethod of the property Specular |
setSpotCutOff | Virtual setmethod of the property SpotCutOff |
setSpotExponent | The virtual setMethod of the property SpotExponent |