Panda3D
Loading...
Searching...
No Matches
Public Member Functions | List of all members
DiscEmitter Class Reference

Describes a planar disc region from which particles are generated. More...

#include <pandadoc.hpp>

Inheritance diagram for DiscEmitter:
BaseParticleEmitter ReferenceCount

Public Member Functions

 __init__ ()
 constructor
 
 __init__ (const DiscEmitter copy)
 copy constructor
 
bool getCubicLerping ()
 
float getInnerAngle ()
 
float getInnerMagnitude ()
 
float getOuterAngle ()
 
float getOuterMagnitude ()
 
float getRadius ()
 
 setCubicLerping (bool clerp)
 
 setInnerAngle (float i_angle)
 
 setInnerMagnitude (float i_mag)
 
 setOuterAngle (float o_angle)
 
 setOuterMagnitude (float o_mag)
 
 setRadius (float r)
 
- Public Member Functions inherited from BaseParticleEmitter
 generate (LPoint3 pos, LVector3 vel)
 parent generation function
 
float getAmplitude ()
 amplitude query
 
float getAmplitudeSpread ()
 amplitude spread query
 
BaseParticleEmitter::EmissionType getEmissionType ()
 emission type query
 
LVector3 getExplicitLaunchVector ()
 query for explicit emission launch vector
 
LVector3 getOffsetForce ()
 user-defined force
 
LPoint3 getRadiateOrigin ()
 query for explicit emission launch vector
 
BaseParticleEmitter makeCopy ()
 
 output (Ostream out)
 Write a string representation of this instance to <out>.
 
 setAmplitude (float a)
 amplitude assignment
 
 setAmplitudeSpread (float as)
 amplitude spread assignment
 
 setEmissionType (BaseParticleEmitter::EmissionType et)
 emission type assignment
 
 setExplicitLaunchVector (const LVector3 elv)
 assignment of explicit emission launch vector
 
 setOffsetForce (const LVector3 of)
 
 setRadiateOrigin (const LPoint3 ro)
 assignment of radiate emission origin point
 
 write (Ostream out, int indent)
 Write a string representation of this instance to <out>.
 
- Public Member Functions inherited from ReferenceCount
int getRefCount ()
 Returns the current reference count.
 
 ref ()
 Explicitly increments the reference count.
 
bool testRefCountIntegrity ()
 Does some easy checks to make sure that the reference count isn't completely bogus.
 
bool testRefCountNonzero ()
 Does some easy checks to make sure that the reference count isn't zero, or completely bogus.
 
bool unref ()
 Explicitly decrements the reference count.
 

Additional Inherited Members

- Public Types inherited from BaseParticleEmitter
enum  EmissionType { ET_EXPLICIT = 0 , ET_RADIATE = 1 , ET_CUSTOM = 2 }
 
- Static Public Member Functions inherited from ReferenceCount
static TypeHandle getClassType ()
 
- Public Attributes inherited from ReferenceCount
int ref_count
 The current reference count.
 

Detailed Description

Describes a planar disc region from which particles are generated.

Member Function Documentation

◆ __init__() [1/2]

__init__ ( )

constructor

◆ __init__() [2/2]

__init__ ( const DiscEmitter copy)

copy constructor

◆ getCubicLerping()

bool getCubicLerping ( )

◆ getInnerAngle()

float getInnerAngle ( )

◆ getInnerMagnitude()

float getInnerMagnitude ( )

◆ getOuterAngle()

float getOuterAngle ( )

◆ getOuterMagnitude()

float getOuterMagnitude ( )

◆ getRadius()

float getRadius ( )

◆ setCubicLerping()

setCubicLerping ( bool clerp)

◆ setInnerAngle()

setInnerAngle ( float i_angle)

◆ setInnerMagnitude()

setInnerMagnitude ( float i_mag)

◆ setOuterAngle()

setOuterAngle ( float o_angle)

◆ setOuterMagnitude()

setOuterMagnitude ( float o_mag)

◆ setRadius()

setRadius ( float r)