ImageGear for .NET
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

 

 


©2014. Accusoft Corporation. All Rights Reserved.

Send Feedback