osg.Light¶
-
class
osg.Light¶ Represents: c++ class Wraps: osg::Light Bases: osg.StateAttributeConstructors:
-
osg.Light()¶
Methods:
-
:
setLightNum(int num)¶ -
Parameters: num ( int) –
-
:
getLightNum()¶ -
Return type: int
-
:
setConstantAttenuation(double val)¶ -
Parameters: val ( double) –
-
:
getConstantAttenuation()¶ -
Return type: double
-
:
setLinearAttenuation(double val)¶ -
Parameters: val ( double) –
-
:
getLinearAttenuation()¶ -
Return type: double
-
:
setQuadraticAttenuation(double val)¶ -
Parameters: val ( double) –
-
:
getQuadraticAttenuation()¶ -
Return type: double
-
:
setSpotExponent(double val)¶ -
Parameters: val ( double) –
-
:
getSpotExponent()¶ -
Return type: double
-
:
setSpotCutoff(double val)¶ -
Parameters: val ( double) –
-
:
getSpotCutoff()¶ -
Return type: double
-