Panda3D
|
Describes a voluminous spherical region in which particles are generated. More...
Public Member Functions | |
__init__ () | |
__init__ (const SphereVolumeEmitter copy) | |
copy constructor More... | |
float | getRadius () |
setRadius (float r) | |
![]() | |
generate (LPoint3 pos, LVector3 vel) | |
parent generation function More... | |
float | getAmplitude () |
amplitude query More... | |
float | getAmplitudeSpread () |
amplitude spread query More... | |
BaseParticleEmitter::EmissionType | getEmissionType () |
emission type query More... | |
LVector3 | getExplicitLaunchVector () |
query for explicit emission launch vector More... | |
LVector3 | getOffsetForce () |
user-defined force More... | |
LPoint3 | getRadiateOrigin () |
query for explicit emission launch vector More... | |
BaseParticleEmitter | makeCopy () |
output (Ostream out) | |
Write a string representation of this instance to <out>. More... | |
setAmplitude (float a) | |
amplitude assignment More... | |
setAmplitudeSpread (float as) | |
amplitude spread assignment More... | |
setEmissionType (BaseParticleEmitter::EmissionType et) | |
emission type assignment More... | |
setExplicitLaunchVector (const LVector3 elv) | |
assignment of explicit emission launch vector More... | |
setOffsetForce (const LVector3 of) | |
user-defined force More... | |
setRadiateOrigin (const LPoint3 ro) | |
assignment of radiate emission origin point More... | |
write (Ostream out, int indent) | |
Write a string representation of this instance to <out>. More... | |
![]() | |
int | getRefCount () |
Returns the current reference count. More... | |
ref () | |
Explicitly increments the reference count. User code should avoid using ref() and unref() directly, which can result in missed reference counts. Instead, let a PointerTo object manage the reference counting automatically. More... | |
bool | testRefCountIntegrity () |
Does some easy checks to make sure that the reference count isn't completely bogus. Returns true if ok, false otherwise. More... | |
bool | testRefCountNonzero () |
Does some easy checks to make sure that the reference count isn't zero, or completely bogus. Returns true if ok, false otherwise. More... | |
bool | unref () |
Explicitly decrements the reference count. Note that the object will not be implicitly deleted by unref() simply because the reference count drops to zero. (Having a member function delete itself is problematic.) However, see the helper function unref_delete(). More... | |
Additional Inherited Members | |
![]() | |
enum | EmissionType { ET_EXPLICIT = 0, ET_RADIATE = 1, ET_CUSTOM = 2 } |
![]() | |
static TypeHandle | getClassType () |
Describes a voluminous spherical region in which particles are generated.
__init__ | ( | ) |
__init__ | ( | const SphereVolumeEmitter | copy | ) |
copy constructor
float getRadius | ( | ) |
setRadius | ( | float | r | ) |