DampingOperator(const DampingOperator ©, const osg::CopyOp ©op=osg::CopyOp::SHALLOW_COPY)
float getCutoffLow() const
const osg::Vec3 & getDamping() const
void setCutoff(float low, float high)
Set the velocity cutoff factors.
void setCutoffLow(float low)
void getDamping(float &x, float &y, float &z) const
Get the damping factors.
void setDamping(float x)
Set the damping factors to one value.
void setDamping(const osg::Vec3 &damping)
void setVelocity(const osg::Vec3 &v)
float getCutoffHigh() const
META_Object(osgParticle, DampingOperator)
DampingOperator & operator=(const DampingOperator &)
void setDamping(float x, float y, float z)
Set the damping factors.
void setCutoffHigh(float low)
void operate(Particle *P, double dt)
Apply the acceleration to a particle. Do not call this method manually.
const osg::Vec3 & getVelocity() const
virtual ~DampingOperator()
void getCutoff(float &low, float &high) const
Get the velocity cutoff factors.