| Trees | Indices | Help |
|
|---|
|
|
The Blender.Lamp submodule.
New: Lamp.clearScriptLinks accepts a parameter now.This module provides control over Lamp Data objects in Blender.
Example:
from Blender import Lamp, Scene
l = Lamp.New('Spot') # create new 'Spot' lamp data
l.setMode('Square', 'Shadow') # set these two lamp mode flags
scn = Scene.GetCurrent()
ob = scn.objects.new(l)
|
|||
|
Lamp This object gives access to Lamp-specific data in Blender. |
|||
|
|||
| Blender Lamp |
|
||
| Blender Lamp or a list of Blender Lamps |
|
||
|
|||
| read-only dictionary |
BufferTypes The lamp shadowbuffer types. |
||
| read-only dictionary |
Falloffs The lamp falloff types. |
||
| read-only dictionary |
Modes The lamp modes. |
||
| read-only dictionary |
Types The lamp types. |
||
|
|||
|
|
|
|||
BufferTypesThe lamp shadowbuffer types.
|
FalloffsThe lamp falloff types.
|
ModesThe lamp modes. Modes may be ORed together.
|
TypesThe lamp types.
|
| Trees | Indices | Help |
|
|---|
| Generated by Epydoc 3.0beta1 on Sat Sep 19 13:57:27 2009 | http://epydoc.sourceforge.net |