This object gives access to particle effect data in Blender.
int
|
getType()
Retrieves the type of an effect object. |
|
|
None
|
setType(name)
Deprecated, since only particle effects are supported. |
|
|
int
|
getFlag()
Retrieves the flag of an effect object. |
|
|
None
|
setFlag(newflag)
Sets the flag of an effect object. |
|
|
float
|
getStartTime()
Retrieves the starting time of a particle effect object |
|
|
None
|
setSta(newstart)
Sets the starting time of an particle effect object |
|
|
float
|
getEndTime()
Retrieves the end time of a particle effect object |
|
|
None
|
setEnd(newendrt)
Sets the end time of an particle effect object |
|
|
float
|
getLifetime()
Retrieves the lifetime of a particle effect object |
|
|
None
|
setLifetime(newlifetime)
Sets the lifetime of a particle effect object |
|
|
float
|
getNormfac()
Retrieves the normal strength of the particles (relatively to mesh). |
|
|
None
|
setNormfac(newnormfac)
Sets the normal strength of the particles (relatively to mesh). |
|
|
float
|
getObfac()
Retrieves the initial strength of the particles relatively to
objects. |
|
|
None
|
setObfac(newobfac)
Sets the initial strength of the particles relatively to objects. |
|
|
float
|
getRandfac()
Retrieves the random strength applied to the particles. |
|
|
None
|
setRandfac(newrandfac)
Sets the random strength applied to the particles. |
|
|
int
|
getStype()
Retrieves the vect state of an effect object. |
|
|
None
|
|
float
|
getTexfac()
Retrieves the strength applied to the particles from the texture of
the object. |
|
|
None
|
setTexfac(newtexfac)
Sets the strength applied to the particles from the texture of the
object. |
|
|
float
|
getRandlife()
Retrieves the variability of the life of the particles. |
|
|
None
|
setRandlife(newrandlife)
Sets the variability of the life of the particles. |
|
|
float
|
getNabla()
Retrieves the sensibility of the particles to the variations of the
texture. |
|
|
None
|
setNabla(newnabla)
Sets the sensibility of the particles to the variations of the
texture. |
|
|
float
|
getVectsize()
Retrieves the size of the vector which is associated to the
particles. |
|
|
None
|
setVectsize(newvectsize)
Sets the size of the vector which is associated to the particles. |
|
|
int
|
getTotpart()
Retrieves the total number of particles. |
|
|
None
|
setTotpart(newtotpart)
Sets the the total number of particles. |
|
|
int
|
getTotkey()
Retrieves the number of keys associated to the particles (kind of
degree of freedom) |
|
|
None
|
setTotkey(newtotkey)
Sets the number of keys associated to the particles. |
|
|
int
|
getSeed()
Retrieves the random number generator seed. |
|
|
None
|
setSeed(newseed)
Sets the random number generator seed. |
|
|
tuple of three floats
|
getForce()
Retrieves the force applied to the particles. |
|
|
None
|
setForce(newforce)
Sets the force applied to the particles. |
|
|
tuple of 4 floats
|
getMult()
Retrieves the probabilities of a particle having a child. |
|
|
None
|
setMult(newmult)
Sets the probabilities of a particle having a child. |
|
|
tuple of 4 floats
|
getLife()
Retrieves the average life of the particles (4 generations) |
|
|
None
|
setLife(newlife)
Sets the average life of the particles (4 generations). |
|
|
tuple of 4 ints
|
getChild()
Retrieves the average number of children of the particles (4
generations). |
|
|
None
|
setChild(newchild)
Sets the average number of children of the particles (4 generations). |
|
|
tuple of 4 ints
|
getMat()
Retrieves the indexes of the materials associated to the particles (4
generations). |
|
|
None
|
setMat(newmat)
Sets the indexes of the materials associated to the particles (4
generations). |
|
|
tuple of 3 floats
|
getDefvec()
Retrieves the x, y and z components of the force defined by the
texture. |
|
|
None
|
setDefvec(newdefvec)
Sets the x, y and z components of the force defined by the texture. |
|
|
A list of vector or a list of vector lists.
|
getParticlesLoc()
Gets the location of each particle at the current time in worldspace. |
|
|
tuple of 4 ints
|
child
The number of children a particle may have.
|
tuple of 4 ints
|
childMat
The materials used by the 4 generation particles.
|
float
|
damping
The particle damping factor.
|
tuple of 3 floats
|
defvec
The x, y and z axis of the force defined by the texture.
|
int
|
disp
The percentage of particles displayed.
|
int
|
dispMat
The material used for the particles.
|
int
|
emissionTex
The texture used for texture emission.
|
float
|
end
The end time of the effect.
|
int
|
flag
The flag bitfield.
|
tuple of 3 floats
|
force
The constant force applied to the parts.
|
int
|
forceTex
The texture used for force.
|
int
|
jitter
Jitter table distribution: maximum particles per face.
|
tuple of 4 floats
|
life
The lifetime of of the next generation of particles.
|
float
|
lifetime
The lifetime of the effect.
|
tuple of 4 floats
|
mult
The probabilities of a particle having a child.
|
float
|
nabla
The nabla value.
|
float
|
normfac
The normal strength of the particles relative to mesh.
|
float
|
obfac
The strength of the particles relative to objects.
|
float
|
randfac
The initial random speed of the particles.
|
float
|
randlife
The variability of the life of the particles.
|
int
|
seed
The seed of the random number generator.
|
int
|
speedType
Controls which texture property affects particle speeds.
|
str
|
speedVGroup
The name of the vertex group used for speed control.
|
float
|
sta
The start time of the effect.
|
int
|
staticStep
percentage of skipped particles in static display.
|
int
|
stype
The bitfield for vector.
|
float
|
texfac
The initial speed of the particles caused by the texture.
|
int
|
totkey
The total number of key positions.
|
int
|
totpart
The total number of particles.
|
int
|
type
The type of the effect.
|
str
|
vGroup
The name of the vertex group used for emitted particles.
|
float
|
vectsize
The size of vectors associated to the particles (if any).
|