ImageGear .NET
ImGearVectorLightSource Class Members
Properties  Methods 


The following tables list the members exposed by ImGearVectorLightSource.

Public Properties
 NameDescription
Public PropertyAmbientColor Gets or sets an ambient color of light source. The color is presented as an array of four color components (red, green, blue, alpha). Usually the component belongs to the range 0...1, but can be greater than 1.  
Public PropertyCutoffAngle Gets or sets a spotlight angle of the light source.  
Public PropertyDiffuseColor Gets or sets a diffuse color of light source. The color is presented as an array of four color components (red, green, blue, alpha). Usually the component belongs to the range 0...1, put can be greater than 1.  
Public PropertyDirection Gets or sets a light source direction. The direction is presented as an array of three direction components (x, y, z).  
Public PropertyEnabled Gets or sets a value indicating whether to enable or disable the light source.  
Public PropertyExponent Gets or sets a spotlight exponent of the light source.  
Public PropertyPosition Gets or sets a light source position. The position is presented as a vector of three coordinates (x, y, z).  
Public PropertySpecularColor Gets or sets a specular color of light source. The color is presented as an array of four color components (red, green, blue, alpha). Usually the component belongs to the range 0...1, but can be greater than 1.  
Top
Public Methods
 NameDescription
Public MethodGetAttenuation Returns constant, linear and quadratic attenuation factors of the light source.  
Public MethodSetAttenuation Sets constant, linear and quadratic attenuation factors of the light source.  
Top
See Also

Reference

ImGearVectorLightSource Class
ImageGear.Vector Namespace

 

 


©2016. Accusoft Corporation. All Rights Reserved.

Send Feedback