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

Effect::Effect Class Reference

List of all members.


Detailed Description

The Effect object
=================
This object gives access to particle effect data in Blender.

@ivar child: The number of children a particle may have.
  Values are clamped to the range [1,600].
@type child: tuple of 4 ints
@ivar childMat: The materials used by the 4 generation particles.
  Values are clamped to the range [1,16].
@type childMat: tuple of 4 ints
@ivar damping: The particle damping factor.  This controls the rate at
  which particles decelerate.
  Values are clamped to the range [0.0,1.0].
@type damping: float
@ivar defvec: The x, y and z axis of the force defined by the texture.
  Values are clamped to the range [-1.0,1.0].
@type defvec: tuple of 3 floats
@ivar disp: The percentage of particles displayed.
  Value is clamped to the range [0,100].
@type disp: int
@ivar dispMat: The material used for the particles.
  Value is clamped to the range [1,16].
@type dispMat: int
@ivar emissionTex: The texture used for texture emission.
  Value is clamped to the range [1,10].
@type emissionTex: int
@ivar end: The end time of the effect.
  Value is clamped to the range [1.0,30000.0].
@type end: float
@ivar flag: The flag bitfield.  See L{Flags} for values.
@type flag: int
@ivar force: The constant force applied to the parts.
  Values are clamped to the range [-1.0,1.0].
@type force: tuple of 3 floats
@ivar forceTex: The texture used for force.
  Value is clamped to the range [1,10].
@type forceTex: int
@ivar jitter: Jitter table distribution: maximum particles per face.
  Values are clamped to the range [0,200].
@type jitter: int
@ivar life: The lifetime of of the next generation of particles.
  Values are clamped to the range [1.0,30000.0].
@type life: tuple of 4 floats
@ivar lifetime: The lifetime of the effect.
  Value is clamped to the range [1.0,30000.0].
@type lifetime: float
@ivar mult: The probabilities of a particle having a child.
  Values are clamped to the range [0.0,1.0].
@type mult: tuple of 4 floats
@ivar nabla: The nabla value.
  Value is clamped to the range [0.0001,1.0].
@type nabla: float
@ivar normfac: The normal strength of the particles relative to mesh.
  Value is clamped to the range [-2.0,2.0].
@type normfac: float
@ivar obfac: The strength of the particles relative to objects.
  Value is clamped to the range [-1.0,1.0].
@type obfac: float
@ivar randfac: The initial random speed of the particles.
  Value is clamped to the range [0.0,2.0].
@type randfac: float
@ivar randlife: The variability of the life of the particles.
  Value is clamped to the range [0.0,2.0].
@type randlife: float
@ivar seed: The seed of the random number generator.
  Value is clamped to the range [0,255].
@type seed: int
@ivar speedType: Controls which texture property affects particle speeds.
  See L{SpeedTypes} for values and their meanings.
@type speedType: int
@ivar speedVGroup: The name of the vertex group used for speed control.
@type speedVGroup: str
@ivar sta: The start time of the effect.
  Value is clamped to the range [-250.0,30000.0].
@type sta: float
@ivar staticStep: percentage of skipped particles in static display.
  Value is clamped to the range [1,100].
@type staticStep: int  
@ivar stype: The bitfield for vector.
@type stype: int
@ivar texfac: The initial speed of the particles caused by the texture.
  Value is clamped to the range [0.0,2.0].
@type texfac: float
@ivar totpart: The total number of particles.
  Value is clamped to the range [1,100000].
@type totpart: int
@ivar totkey: The total number of key positions.
  Value is clamped to the range [1,100].
@type totkey: int
@ivar type: The type of the effect.  Deprecated.
@type type: int
@ivar vectsize: The size of vectors associated to the particles (if any).
  Value is clamped to the range [0.0,1.0].
@type vectsize: float
@ivar vGroup: The name of the vertex group used for emitted particles.
@type vGroup: str

Definition at line 80 of file Effect.py.


Public Member Functions

def getChild
def getDefvec
def getEndTime
def getFlag
def getForce
def getLife
def getLifetime
def getMat
def getMult
def getNabla
def getNormfac
def getObfac
def getParticlesLoc
def getRandfac
def getRandlife
def getSeed
def getStartTime
def getStype
def getTexfac
def getTotkey
def getTotpart
def getType
def getVectsize
def setChild
def setDefvec
def setEnd
def setFlag
def setForce
def setLife
def setLifetime
def setMat
def setMult
def setNabla
def setNormfac
def setObfac
def setRandfac
def setRandlife
def setSeed
def setSta
def setStype
def setTexfac
def setTotkey
def setTotpart
def setType
def setVectsize

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

Generated by  Doxygen 1.6.0   Back to index