ImageGear .NET v25.2 - Updated
SetAttenuation Method




ImageGear.Formats.Vector Assembly > ImageGear.Vector Namespace > ImGearVectorLightSource Class : SetAttenuation Method
New constant attenuation factor.
New linear attenuation factor.
New quadratic attenuation factor.
Sets constant, linear and quadratic attenuation factors of the light source.
Syntax
'Declaration
 
Public Sub SetAttenuation( _
   ByVal constantFactor As Single, _
   ByVal linearFactor As Single, _
   ByVal quadraticFactor As Single _
) 
'Usage
 
Dim instance As ImGearVectorLightSource
Dim constantFactor As Single
Dim linearFactor As Single
Dim quadraticFactor As Single
 
instance.SetAttenuation(constantFactor, linearFactor, quadraticFactor)
public void SetAttenuation( 
   float constantFactor,
   float linearFactor,
   float quadraticFactor
)
public: void SetAttenuation( 
   float constantFactor,
   float linearFactor,
   float quadraticFactor
) 
public:
void SetAttenuation( 
   float constantFactor,
   float linearFactor,
   float quadraticFactor
) 

Parameters

constantFactor
New constant attenuation factor.
linearFactor
New linear attenuation factor.
quadraticFactor
New quadratic attenuation factor.
See Also

Reference

ImGearVectorLightSource Class
ImGearVectorLightSource Members

Is this page helpful?
Yes No
Thanks for your feedback.