//----------------------------------------------------------------------- void AreaEmitter::setSize(Real x, Real y, Real z) { mSize.x = x; mSize.y = y; mSize.z = z; genAreaAxes(); }
//----------------------------------------------------------------------- void AreaEmitter::setDirection( const Vector3& inDirection ) { ParticleEmitter::setDirection( inDirection ); // Update the ranges genAreaAxes(); }
/** Sets the depth (local y size) of the emitter. */ void setDepth(Ogre::Real depth) { mSize.z = depth; genAreaAxes(); }
/** Sets the height (local y size) of the emitter. */ void setHeight(Ogre::Real height) { mSize.y = height; genAreaAxes(); }
/** Sets the width (local x size) of the emitter. */ void setWidth(Ogre::Real width) { mSize.x = width; genAreaAxes(); }
/** Sets the size of the area from which particles are emitted. @param size Vector describing the size of the area. The area extends around the center point by half the x, y and z components of this vector. The box is aligned such that it's local Z axis points along it's direction (see setDirection) */ void setSize(const Ogre::Vector3 &size) { mSize = size; genAreaAxes(); }
/** Overloaded to update the trans. matrix */ void setDirection(const Ogre::Vector3 &dir) { ParticleEmitter::setDirection(dir); genAreaAxes(); }
void AreaEmitter::setDepth(Real depth) { mSize.z = depth; genAreaAxes(); }
void AreaEmitter::setHeight(Real height) { mSize.y = height; genAreaAxes(); }
void AreaEmitter::setWidth(Real width) { mSize.x = width; genAreaAxes(); }
void AreaEmitter::setSize(const Vector3& size) { mSize = size; genAreaAxes(); }