ImageGear .NET v24.12 - Updated
GetAttenuation Method




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

Parameters

constantFactor
Returns constant attenuation factor.
linearFactor
Returns attenuation factor.
quadraticFactor
Returns quadratic attenuation factor.
See Also

Reference

ImGearVectorLightSource Class
ImGearVectorLightSource Members