Drawing3d documented Class Library

Light Methods

The methods of the Light class are listed below. For a complete list of Light class members, see the Light Members topic.

Public Instance Methods

Equals (inherited from Object) 
GetHashCode (inherited from Object) 
GetType (inherited from Object) 
ToString (inherited from Object) 
UpDate This abstract method must be overriden. It moves the data to the graphicengine.
UpDated If you change more than one property of a light, use UpDating at the beginning and UpDated at the end. 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 UpDating at the beginning and UpDated at the end. This ensures that the method UpDate will be called only one time.
UpDating();
Ambient = Colors.White;
Specular = Colors.Blue;
..
UpDated();

Protected Instance Methods

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
SetConstantAttenuation Set method of the property ConstantAttenuation
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
SetLinearAttenuation Setmethod of the LinearAttenuation-property
setPosition The virtual setMethod of the property Position
SetQuadraticAttenuation Setmethod of the QuadraticAttenuation-Property
setSpecular virtual setmethod of the property Specular
setSpotCutOff Virtual setmethod of the property SpotCutOff
setSpotExponent The virtual setMethod of the property SpotExponent

See Also

Light Class | Drawing3d Namespace