Home | Trees | Index | Help |
|
---|
Module Lamp |
|
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)
Classes | |
---|---|
Lamp |
This object gives access to Lamp-specific data in Blender. |
Function Summary | |
---|---|
Blender Lamp or a list of Blender Lamps |
Get the Lamp Data object(s) from Blender. |
Blender Lamp |
Create a new Lamp Data object. |
Variable Summary | |
---|---|
read-only dictionary | Modes : The lamp modes. |
read-only dictionary | Types : The lamp types. |
Function Details |
---|
Get(name=None)Get the Lamp Data object(s) from Blender.
|
New(type='Lamp', name='LampData')Create a new Lamp Data object.
|
Variable Details |
---|
TypesThe lamp types.
|
Home | Trees | Index | Help |
|
---|
Generated by Epydoc 2.1 on Thu May 10 20:32:01 2007 | http://epydoc.sf.net |