# PointEmitter

from pandac.PandaModules import PointEmitter

Class : PointEmitter
Description : Describes a planar ring region in which particles are generated.

## Inheritance:

PointEmitter: BaseParticleEmitter
BaseParticleEmitter: ReferenceCount
ReferenceCount: MemoryBase
MemoryBase:

## Methods of PointEmitter:

getLocation
setLocation

## Methods of BaseParticleEmitter:

generate
getAmplitude
getAmplitudeSpread
getEmissionType
getExplicitLaunchVector
getOffsetForce
getRadiateOrigin
makeCopy
output
setAmplitude
setAmplitudeSpread
setEmissionType
setExplicitLaunchVector
setOffsetForce
setRadiateOrigin
write

## Methods of ReferenceCount:

getClassType
getRefCount
ref
testRefCountIntegrity
testRefCountNonzero
unref

## Constants in BaseParticleEmitter:

ETEXPLICIT | (emissionType)
ETRADIATE | (emissionType)
ETCUSTOM | (emissionType)

getLocation LPoint3f PointEmitter::get_location(void) const; Undocumented function.

setLocation void PointEmitter::set_location(LPoint3f const &p); Filename: pointEmitter.I Created by: charles (26Jun00) PANDA 3D SOFTWARE Copyright (c) 2001 - 2004, Disney Enterprises, Inc. All rights reserved All use of this software is subject to the terms of the Panda 3d Software license. You should have received a copy of this license along with this source code; you will also find a current copy of the license at http://etc.cmu.edu/panda3d/docs/license/ . To contact the maintainers of this program write to panda3d-general@lists.sourceforge.net . Description : point setting

generate void BaseParticleEmitter::generate(LPoint3f &pos, LVector3f &vel); Description : parent generation function

getAmplitude float BaseParticleEmitter::get_amplitude(void) const; Description : amplitude query

getAmplitudeSpread float BaseParticleEmitter::get_amplitude_spread(void) const; Description : amplitude spread query

getEmissionType BaseParticleEmitter::emissionType BaseParticleEmitter::get_emission_type(void) const; Description : emission type query

getExplicitLaunchVector LVector3f BaseParticleEmitter::get_explicit_launch_vector(void) const; Description : query for explicit emission launch vector

getOffsetForce LVector3f BaseParticleEmitter::get_offset_force(void) const; Description : user-defined force

getRadiateOrigin LPoint3f BaseParticleEmitter::get_radiate_origin(void) const; Description : query for explicit emission launch vector

makeCopy virtual BaseParticleEmitter *BaseParticleEmitter::make_copy(void) = 0; Undocumented function.

output virtual void BaseParticleEmitter::output(ostream &out) const; Description : Write a string representation of this instance to <out>.

setAmplitude void BaseParticleEmitter::set_amplitude(float a); Description : amplitude assignment

setAmplitudeSpread void BaseParticleEmitter::set_amplitude_spread(float as); Description : amplitude spread assignment

setEmissionType void BaseParticleEmitter::set_emission_type(BaseParticleEmitter::emissionType et); Filename: baseParticleEmitter.I Created by: charles (26Jun00) PANDA 3D SOFTWARE Copyright (c) 2001 - 2004, Disney Enterprises, Inc. All rights reserved All use of this software is subject to the terms of the Panda 3d Software license. You should have received a copy of this license along with this source code; you will also find a current copy of the license at http://etc.cmu.edu/panda3d/docs/license/ . To contact the maintainers of this program write to panda3d-general@lists.sourceforge.net . Description : emission type assignment

setExplicitLaunchVector void BaseParticleEmitter::set_explicit_launch_vector(LVector3f const &elv); this is a constant force applied to all particles Description : assignment of explicit emission launch vector

setOffsetForce void BaseParticleEmitter::set_offset_force(LVector3f const &of); Description : user-defined force

setRadiateOrigin void BaseParticleEmitter::set_radiate_origin(LPoint3f const &ro); this is a constant force applied to all particles Description : assignment of radiate emission origin point

write virtual void BaseParticleEmitter::write(ostream &out, int indent = (0)) const; Description : Write a string representation of this instance to <out>.

getClassType static TypeHandle ReferenceCount::get_class_type(void); Undocumented function.

getRefCount int ReferenceCount::get_ref_count(void) const; Description: Returns the current reference count.

ref void ReferenceCount::ref(void) const; Description: 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. This function is const, even though it changes the object, because generally fiddling with an object's reference count isn't considered part of fiddling with the object. An object might be const in other ways, but we still need to accurately count the number of references to it.

testRefCountIntegrity bool ReferenceCount::test_ref_count_integrity(void) const; Description: Does some easy checks to make sure that the reference count isn't completely bogus. Returns true if ok, false otherwise.

testRefCountNonzero bool ReferenceCount::test_ref_count_nonzero(void) const; Description: Does some easy checks to make sure that the reference count isn't zero, or completely bogus. Returns true if ok, false otherwise.

unref bool ReferenceCount::unref(void) const; Description: 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; plus, we don't have a virtual destructor anyway.) However, see the helper function unref_delete(). 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. This function is const, even though it changes the object, because generally fiddling with an object's reference count isn't considered part of fiddling with the object. An object might be const in other ways, but we still need to accurately count the number of references to it. The return value is true if the new reference count is nonzero, false if it is zero.