ImageGear Professional for Windows ActiveX
IGVectLightSource Object

Description:

This object represents the Light source API.

Interface:

interface IIGVectLightSource : IIGObject

Members:

Methods
GetAmbientColor Method Gets ambient color of the light source.
GetDiffuseColor Method Gets diffuse color of the light source.
GetDirection Method Gets light direction, array of 3 floats - nx, ny, nz.
GetPosition Method Gets light position, array of 3 floats - x, y, z.
GetSpecularColor Method Gets specular color of the light source.
SetAmbientColor Method Sets ambient color of the light source.
SetDiffuseColor Method Sets diffuse color of the light source.
SetDirection Method Sets light direction, array of 3 floats - nx, ny, nz.
SetPosition Method Sets light position, array of 3 floats - x, y, z.
SetSpecularColor Method Sets specular color of the light source.
Properties
ConstantAttenuation Property Constant attenuation factor.
CutoffAngle Property Cutoff angle of the light, 0..90 or 180 (uniform distribution).
Enabled Property Enables/disables the Light source.
Exponent Property Intensity distribution of the light, 0..128.
LinearAttenuation Property Linear attenuation factor.
QuadraticAttenuation Property Quadratic attenuation factor.

 

 


©2016. Accusoft Corporation. All Rights Reserved.

Send Feedback