Rechercher une page de manuel
LightLinearAttenuation.3CgFX
Langue: en
Version: Cg Toolkit 3.0 (ubuntu - 24/10/10)
Section: 3 (Bibliothèques de fonctions)
Sommaire
NAME
LightLinearAttenuation - 3D API light linear attenuationUSAGE
LightLinearAttenuation[i] = float(linear_attenuation)VALID ENUMERANTS
linear_attenuation:DESCRIPTION
Specify the linear light attenuation factor. See the GL_LINEAR_ATTENUATION description on the OpenGL glLight manual page for details. See the Attenuation1 member of the D3DLIGHT9 argument to IDirect3DDevice9::SetLight method.The standard reset callback sets the LightLinearAttenuation[i] state to float(0).
OPENGL FUNCTIONALITY REQUIREMENTS
OpenGL 1.0DIRECT3D FUNCTIONALITY REQUIREMENTS
DirectX 9SEE ALSO
LightAmbient, LightAttenuation0, LightAttenuation1, LightAttenuation2, LightConstantAttenuation, LightDiffuse, LightDirection, LightEnable, LightFalloff, LightModelAmbient, LightModelColorControl, LightModelLocalViewerEnable, LightModelTwoSideEnable, LightPhi, LightPosition, LightQuadraticAttenuation, LightRange, LightSpecular, LightSpotCutoff, LightSpotDirection, LightSpotExponent, LightTheta, LightType, LightingEnableContenus ©2006-2024 Benjamin Poulain
Design ©2006-2024 Maxime Vantorre