Trees | Indices | Help |
---|
|
This object gives access to Lamp-specific data in Blender.
Warning: Most member variables assume values in some [Min, Max] interval. When trying to set them, the given parameter will be clamped to lie in that range: if val < Min, then val = Min, if val > Max, then val = Max.
|
|||
string |
|
||
|
|||
int |
|
||
|
|||
int |
|
||
|
|||
int |
|
||
|
|||
int |
|
||
int |
|
||
int |
|
||
int |
|
||
int |
|
||
int |
|
||
int |
|
||
int |
|
||
int |
|
||
|
|||
int |
|
||
|
|||
float |
|
||
|
|||
float |
|
||
|
|||
float |
|
||
|
|||
float |
|
||
|
|||
float |
|
||
|
|||
float |
|
||
|
|||
float |
|
||
|
|||
float |
|
||
|
|||
float |
|
||
|
|||
float |
|
||
|
|||
float |
|
||
|
|||
list |
|
||
|
|||
|
|||
Ipo |
|
||
|
|||
|
|||
|
|||
Lamp |
|
|
|||
float |
B Lamp color blue component. |
||
float |
G Lamp color green component. |
||
float |
R Lamp color red component. |
||
float |
areaSizeX Lamp X size (X is used for the Y axis with square area lamps) Value is clamped to the range [0.01,100.0]. |
||
float |
areaSizeY Lamp Y size (Y is only used for rectangle area lamps). |
||
float |
bias Lamp shadow map sampling bias. |
||
int |
bufferSize Lamp shadow buffer size. |
||
float |
clipEnd Lamp shadow map clip end. |
||
float |
clipStart Lamp shadow map clip start. |
||
RGB tuple |
col Lamp RGB color triplet. |
||
float |
dist Lamp clipping distance. |
||
float |
energy Lamp light intensity. |
||
bool |
fakeUser When set to True, this datablock wont be removed, even if nothing is using it. |
||
int |
falloffType Lamp falloff type. |
||
float |
haloInt Lamp spotlight halo intensity. |
||
int |
haloStep Lamp volumetric halo sampling frequency. |
||
Blender Ipo |
ipo Lamp Ipo. |
||
string or None |
lib path to the blend file this datablock is stored in (readonly). |
||
int |
mode Lamp mode bitfield. |
||
string |
name unique name within each blend file. |
||
IDGroup |
properties Returns an IDGroup reference to this datablocks's ID Properties. |
||
float |
quad1 Quad lamp linear distance attenuation. |
||
float |
quad2 Quad lamp quadratic distance attenuation. |
||
int |
raySamplesX Lamp raytracing X samples (X is used for the Y axis with square area lamps). |
||
int |
raySamplesY Lamp raytracing Y samples (Y is only used for rectangle area lamps). |
||
int |
samples Lamp shadow map samples. |
||
float |
softness Lamp shadow sample area size. |
||
float |
spotBlend Lamp spotlight edge softness. |
||
float |
spotSize Lamp spotlight beam angle (in degrees). |
||
bool |
tag A temporary tag that to flag data as being used within a loop. |
||
a tuple of Blender MTex objects. |
textures The Lamp's texture list. |
||
int |
type Lamp type. |
||
int |
users The number of users this datablock has. |
|
Set the name of this Lamp Data object.
|
Set this Lamp's type.
|
Get this Lamp's mode flags.
|
Set this Lamp's mode flags. Mode strings given are turned 'on'. Those not provided are turned 'off', so lamp.setMode() -- without arguments -- turns off all mode flags for Lamp lamp.
|
Set the samples value.
|
Get this lamp's raytracing sample value on the X axis. This value is only used for area lamps.
|
Set the lamp's raytracing sample value on the X axis, between 1 and 16. This value is only used for area lamps.
|
Get this lamp's raytracing sample value on the Y axis. This value is only used for rectangle area lamps.
|
Set the lamp's raytracing sample value on the Y axis, between 1 and 16. This value is only used for rectangle area lamps.
|
Get this lamp's size on the X axis. This value is only used for area lamps.
|
Set this lamp's size on the X axis. This value is only used for area lamps.
|
Get this lamp's size on the Y axis. This value is only used for rectangle area lamps.
|
Set this lamp's size on the Y axis. This value is only used for rectangle area lamps.
|
Set the buffer size value.
|
Set the halo step value.
|
Set the energy intensity value.
|
Set the distance value.
|
Set the spot size value.
|
Set the spot blend value.
|
Set the clip start value.
|
Set the clip end value.
|
Set the bias value.
|
Set the softness value.
|
Set the halo intensity value.
|
Get this lamp's quad 1 value.
Warning: this only applies to Lamps with the 'Quad' flag on. |
Set the quad 1 value.
Warning: this only applies to Lamps with the 'Quad' flag on. |
Get this lamp's quad 2 value.
Warning: this only applies to Lamps with the 'Quad' flag on. |
Set the quad 2 value.
Warning: this only applies to Lamps with the 'Quad' flag on. |
Get a list with this Lamp's script links of type 'event'.
|
Delete script links from this Lamp. If no list is specified, all script links are deleted.
|
Add a new script link to this Lamp.
|
Get the Ipo associated with this Lamp object, if any.
|
Link an ipo to this Lamp object.
|
Unlink the ipo from this Lamp object.
|
Inserts keytype values in lamp ipo at curframe. Uses module constants.
|
Make a copy of this lamp
|
|
BLamp color blue component. Value is clamped to the range [0.0,1.0].
|
GLamp color green component. Value is clamped to the range [0.0,1.0].
|
RLamp color red component. Value is clamped to the range [0.0,1.0].
|
areaSizeYLamp Y size (Y is only used for rectangle area lamps). Value is clamped to the range [0.01,100.0].
|
biasLamp shadow map sampling bias. Value is clamped to the range [0.01,5.0].
|
bufferSizeLamp shadow buffer size. Value is clamped to the range [512,5120].
|
clipEndLamp shadow map clip end. Value is clamped to the range [1.0,5000.0].
|
clipStartLamp shadow map clip start. Value is clamped to the range [0.1,1000.0].
|
colLamp RGB color triplet. Components are clamped to the range [0.0,1.0].
|
distLamp clipping distance. Value is clamped to the range [0.1,5000.0].
|
energyLamp light intensity. Value is clamped to the range [0.0,10.0].
|
fakeUserWhen set to True, this datablock wont be removed, even if nothing is using it. All data has this disabled by default except for Actions.
|
falloffTypeLamp falloff type. See Falloffs for values.
|
haloIntLamp spotlight halo intensity. Value is clamped to the range [0.0,5.0].
|
haloStepLamp volumetric halo sampling frequency. Value is clamped to the range [0,12].
|
ipoLamp Ipo. Contains the Ipo if one is assigned to the object, None otherwise. Setting to None clears the current Ipo..
|
libpath to the blend file this datablock is stored in (readonly).lib will be None unless you are using external blend files with (File, Append/Link) Note: the path may be relative, to get the full path use Blender.sys.expandpath
|
modeLamp mode bitfield. See Modes for values.
|
nameunique name within each blend file.The name is case sensitive and 21 characters maximum length. Note: a blend file may have naming collisions when external library data is used, be sure to check the value of lib. Note: Setting a value longer then 21 characters will be shortened
|
quad1Quad lamp linear distance attenuation. Value is clamped to the range [0.0,1.0].
|
quad2Quad lamp quadratic distance attenuation. Value is clamped to the range [0.0,1.0].
|
raySamplesXLamp raytracing X samples (X is used for the Y axis with square area lamps). Value is clamped to the range [1,16].
|
raySamplesYLamp raytracing Y samples (Y is only used for rectangle area lamps). Value is clamped to the range [1,16].
|
samplesLamp shadow map samples. Value is clamped to the range [1,16].
|
softnessLamp shadow sample area size. Value is clamped to the range [1.0,100.0].
|
spotBlendLamp spotlight edge softness. Value is clamped to the range [0.0,1.0].
|
spotSizeLamp spotlight beam angle (in degrees). Value is clamped to the range [1.0,180.0].
|
tagA temporary tag that to flag data as being used within a loop. always set all tags to True or False before using since blender uses this flag for its own internal operations.
|
texturesThe Lamp's texture list. Empty texture channels contains None.
|
typeLamp type. See Types for values.
|
usersThe number of users this datablock has. (readonly) Zero user datablocks are de-allocated after reloading and saving.
|
Trees | Indices | Help |
---|
Generated by Epydoc 3.0.1 on Fri Oct 24 10:23:51 2008 | http://epydoc.sourceforge.net |