IDirect3DRMLight::SetLinearAttenuation

HRESULT SetLinearAttenuation(D3DVALUE rvAtt);

Sets the linear attenuation factor for a light.

·Returns D3DRM_OK if successful, or an error otherwise. For a list of possible return codes, see Direct3D Retained-Mode Return Values.

rvAtt

New attenuation factor.