Logo Search packages:      
Sourcecode: blender version File versions  Download package

Lamp::Lamp Class Reference

List of all members.


Detailed Description

The Lamp Data object
====================
      This object gives access to Lamp-specific data in Blender.

@ivar B:  Lamp color blue component.
Value is clamped to the range [0.0,1.0].
@type B:  float
@ivar G:  Lamp color green component.
Value is clamped to the range [0.0,1.0].
@type G:  float
@ivar R:  Lamp color red component.
Value is clamped to the range [0.0,1.0].
@type R:  float
@ivar bias:  Lamp shadow map sampling bias.
Value is clamped to the range [0.01,5.0].
@type bias:  float
@ivar bufferSize:  Lamp shadow buffer size.
Value is clamped to the range [512,5120].
@type bufferSize:  int
@ivar clipEnd:  Lamp shadow map clip end.
Value is clamped to the range [1.0,5000.0].
@type clipEnd:  float
@ivar clipStart:  Lamp shadow map clip start.
Value is clamped to the range [0.1,1000.0].
@type clipStart:  float
@ivar col:  Lamp RGB color triplet.
Components are clamped to the range [0.0,1.0].
@type col:  RGB tuple
@ivar dist:  Lamp clipping distance.
Value is clamped to the range [0.1,5000.0].
@type dist:  float
@ivar energy:  Lamp light intensity.
Value is clamped to the range [0.0,10.0].
@type energy:  float
@ivar haloInt:  Lamp spotlight halo intensity.
Value is clamped to the range [0.0,5.0].
@type haloInt:  float
@ivar haloStep:  Lamp volumetric halo sampling frequency.
Value is clamped to the range [0,12].
@type haloStep:  int
@ivar ipo:  Lamp Ipo.
Contains the Ipo if one is assigned to the object, B{None} otherwise.  Setting to B{None} clears the current Ipo..
@type ipo:  Blender Ipo
@ivar mode:  Lamp mode bitfield.  See L{Modes} for values.
@type mode:  int
@ivar quad1:  Quad lamp linear distance attenuation.
Value is clamped to the range [0.0,1.0].
@type quad1:  float
@ivar quad2:  Quad lamp quadratic distance attenuation.
Value is clamped to the range [0.0,1.0].
@type quad2:  float
@ivar samples:  Lamp shadow map samples.
Value is clamped to the range [1,16].
@type samples:  int
@ivar raySamplesX:  Lamp raytracing X samples (X is used for the Y axis with square area lamps).
Value is clamped to the range [1,16].
@type raySamplesX:  int
@ivar raySamplesY:  Lamp raytracing Y samples (Y is only used for rectangle area lamps).
Value is clamped to the range [1,16].
@type raySamplesY:  int
@ivar 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].
@type areaSizeX:  float
@ivar areaSizeY:  Lamp Y size (Y is only used for rectangle area lamps).
Value is clamped to the range [0.01,100.0].
@type areaSizeY:  float
@ivar softness:  Lamp shadow sample area size.
Value is clamped to the range [1.0,100.0].
@type softness:  float
@ivar spotBlend:  Lamp spotlight edge softness.
Value is clamped to the range [0.0,1.0].
@type spotBlend:  float
@ivar spotSize:  Lamp spotlight beam angle (in degrees).
Value is clamped to the range [1.0,180.0].
@type spotSize:  float
@ivar type:  Lamp type.  See L{Types} for values.
@type type:  int
@ivar falloffType:  Lamp falloff type.  See L{Falloffs} for values.
@type falloffType:  int

@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.

Definition at line 83 of file Lamp.py.


Public Member Functions

def __copy__
def addScriptLink
def clearIpo
def clearScriptLinks
def getAreaSizeX
def getAreaSizeY
def getBias
def getBufferSize
def getClipEnd
def getClipStart
def getDist
def getEnergy
def getHaloInt
def getHaloStep
def getIpo
def getMode
def getName
def getQuad1
def getQuad2
def getRaySamplesX
def getRaySamplesY
def getSamples
def getScriptLinks
def getSoftness
def getSpotBlend
def getSpotSize
def getType
def insertIpoKey
def setAreaSizeX
def setAreaSizeY
def setBias
def setBufferSize
def setClipEnd
def setClipStart
def setDist
def setEnergy
def setHaloInt
def setHaloStep
def setIpo
def setMode
def setName
def setQuad1
def setQuad2
def setRaySamplesX
def setRaySamplesY
def setSamples
def setSoftness
def setSpotBlend
def setSpotSize
def setType

The documentation for this class was generated from the following file:

Generated by  Doxygen 1.6.0   Back to index