Changeset View
Changeset View
Standalone View
Standalone View
doc/python_api/rst/bge_types/bge.types.KX_LightObject.rst
| Show First 20 Lines • Show All 82 Lines • ▼ Show 20 Lines | .. attribute:: spotblend | ||||
| Specifies the intensity distribution of the spot light (SPOT lights only). | Specifies the intensity distribution of the spot light (SPOT lights only). | ||||
| :type: float in [0 - 1] | :type: float in [0 - 1] | ||||
| .. note:: | .. note:: | ||||
| Higher values result in a more focused light source. | Higher values result in a more focused light source. | ||||
| .. attribute:: staticShadow | |||||
| Set shadow as static : no shadow update at each frame. | |||||
sybren: I would use some more words to describe this, for example:
Enables static shadows. By default… | |||||
| :type: boolean. | |||||
| .. methode:: updateShadow() | |||||
| Set the shadow to be updated next frame if the lamp uses a static shadow. | |||||
sybrenUnsubmitted Done Inline ActionsInclude a :see:staticShadow-link. sybren: Include a `:see:staticShadow`-link. | |||||
I would use some more words to describe this, for example:
Enables static shadows. By default (staticShadow=False) the shadow cast by the lamp is recalculated every frame. When this is not needed, set staticShadow=True. In that case, call :see:updateShadow() to request a shadow update.