Sets constant, linear and quadratic attenuation factors of the light source.
Syntax
'Declaration
Public Sub SetAttenuation( _
ByVal As Single, _
ByVal As Single, _
ByVal 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 ,
float ,
float
)
public: void SetAttenuation(
float ,
float ,
float
)
public:
void SetAttenuation(
float ,
float ,
float
)
Parameters
- constantFactor
- New constant attenuation factor.
- linearFactor
- New linear attenuation factor.
- quadraticFactor
- New quadratic attenuation factor.
See Also