Home | Trees | Index | Help |
|
---|
Module Lamp :: Class Lamp |
|
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.
Method Summary | |
---|---|
float |
Get this lamp's bias value. |
int |
Get this lamp's buffer size. |
float |
Get this lamp's clip end value. |
float |
Get this lamp's clip start value. |
float |
Get this lamp's distance value. |
float |
Get this lamp's energy intensity value. |
float |
Get this lamp's halo intensity value. |
int |
Get this lamp's halo step value. |
int |
Get this Lamp's mode flags. |
string |
Get the name of this Lamp Data object. |
float |
Get this lamp's quad 1 value. |
float |
Get this lamp's quad 2 value. |
int |
Get this lamp's samples value. |
float |
Get this lamp's softness value. |
float |
Get this lamp's spot blend value. |
float |
Get this lamp's spot size value. |
int |
Get this Lamp's type. |
Set the bias value. | |
Set the buffer size value. | |
Set the clip end value. | |
Set the clip start value. | |
Set the distance value. | |
Set the energy intensity value. | |
Set the halo intensity value. | |
Set the halo step value. | |
Set this Lamp's mode flags. | |
Set the name of this Lamp Data object. | |
Set the quad 1 value. | |
Set the quad 2 value. | |
Set the samples value. | |
Set the softness value. | |
Set the spot blend value. | |
Set the spot size value. | |
Set this Lamp's type. |
Class Variable Summary | |
---|---|
bias : The shadow map sampling bias in [0.01, 5.00]. | |
bufferSize : The size of the shadow buffer in [512, 5120]. | |
clipEnd : The shadow map clip end in [1.0, 5000.0]. | |
clipStart : The shadow map clip start in [0.1, 1000.0]. | |
col : The color of the light, with each rgb component in [0.0, 1.0]. | |
dist : The distance value in [0.1, 5000.0]. | |
energy : The intensity of the light in [0.0, 10.0]. | |
haloInt : The intensity of the spot halo in [0.0, 5.0]. | |
haloStep : Volumetric halo sampling frequency in [0, 12]. | |
mode : The mode flags: or'ed value of the flags in the Modes dict. | |
Modes : The Modes dictionary. | |
name : The Lamp Data name. | |
quad1 : Light intensity value 1 for a Quad lamp in [0.0, 1.0]. | |
quad2 : Light intensity value 2 for a Quad lamp in [0.0, 1.0]. | |
samples : The number of shadow map samples in [1, 16]. | |
softness : The size of the shadow sample area in [1.0, 100.0]. | |
spotBlend : The softness of the spot edge in [0.0, 1.0]. | |
spotSize : The angle of the spot beam in degrees in [1.0, 180.0]. | |
type : The Lamp type (see the Types dict). | |
Types : The Types dictionary. |
Method Details |
---|
getBias()Get this lamp's bias value.
|
getBufferSize()Get this lamp's buffer size.
|
getClipEnd()Get this lamp's clip end value.
|
getClipStart()Get this lamp's clip start value.
|
getDist()Get this lamp's distance value.
|
getEnergy()Get this lamp's energy intensity value.
|
getHaloInt()Get this lamp's halo intensity value.
|
getHaloStep()Get this lamp's halo step value.
|
getMode()Get this Lamp's mode flags.
|
getName()Get the name of this Lamp Data object.
|
getQuad1()Get this lamp's quad 1 value.
|
getQuad2()Get this lamp's quad 2 value.
|
getSamples()Get this lamp's samples value.
|
getSoftness()Get this lamp's softness value.
|
getSpotBlend()Get this lamp's spot blend value.
|
getSpotSize()Get this lamp's spot size value.
|
getType()Get this Lamp's type.
|
setBias(bias)Set the bias value.
|
setBufferSize(bufsize)Set the buffer size value.
|
setClipEnd(clipend)Set the clip end value.
|
setClipStart(clipstart)Set the clip start value.
|
setDist(distance)Set the distance value.
|
setEnergy(energy)Set the energy intensity value.
|
setHaloInt(haloint)Set the halo intensity value.
|
setHaloStep(hastep)Set the halo step value.
|
setMode(m=None, m2=None, m3=None, m4=None, m5=None, m6=None, m7=None, m8=None)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.
|
setName(name)Set the name of this Lamp Data object.
|
setQuad1(quad1)Set the quad 1 value.
|
setQuad2(quad2)Set the quad 2 value.
|
setSamples(samples)Set the samples value.
|
setSoftness(softness)Set the softness value.
|
setSpotBlend(spotblend)Set the spot blend value.
|
setSpotSize(spotsize)Set the spot size value.
|
setType(type)Set this Lamp's type.
|
Class Variable Details |
---|
biasThe shadow map sampling bias in [0.01, 5.00]. |
bufferSizeThe size of the shadow buffer in [512, 5120]. |
clipEndThe shadow map clip end in [1.0, 5000.0]. |
clipStartThe shadow map clip start in [0.1, 1000.0]. |
distThe distance value in [0.1, 5000.0]. |
energyThe intensity of the light in [0.0, 10.0]. |
haloIntThe intensity of the spot halo in [0.0, 5.0]. |
haloStepVolumetric halo sampling frequency in [0, 12]. |
modeThe mode flags: or'ed value of the flags in the Modes dict. |
ModesThe Modes dictionary.
|
nameThe Lamp Data name. |
quad1Light intensity value 1 for a Quad lamp in [0.0, 1.0]. |
quad2Light intensity value 2 for a Quad lamp in [0.0, 1.0]. |
samplesThe number of shadow map samples in [1, 16]. |
softnessThe size of the shadow sample area in [1.0, 100.0]. |
spotBlendThe softness of the spot edge in [0.0, 1.0]. |
spotSizeThe angle of the spot beam in degrees in [1.0, 180.0]. |
typeThe Lamp type (see the Types dict). |
TypesThe Types dictionary.
|
Home | Trees | Index | Help |
|
---|
Generated by Epydoc 2.0 on Sat Nov 29 19:05:58 2003 | http://epydoc.sf.net |