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