Explicit geometry. Coordinates of each particle are given explicitly. More...
#include <NxEmitterGeoms.h>
Inheritance diagram for physx::apex::NxEmitterExplicitGeom:Classes | |
| struct | EllipsoidParams |
| struct | PointListData |
| struct | PointParams |
| struct | SphereParams |
Public Member Functions | |
| virtual void | resetParticleList ()=0 |
| Remove all shapes. | |
| virtual void | addParticleList (physx::PxU32 count, const PointParams *params, const physx::PxVec3 *velocities=0)=0 |
| Add particles to geometry to be emitted. | |
| virtual void | addParticleList (physx::PxU32 count, const physx::PxVec3 *positions, const physx::PxVec3 *velocities=0)=0 |
| virtual void | addParticleList (physx::PxU32 count, const PointListData &data)=0 |
| virtual void | addSphereList (physx::PxU32 count, const SphereParams *params, const physx::PxVec3 *velocities=0)=0 |
| virtual void | addEllipsoidList (physx::PxU32 count, const EllipsoidParams *params, const physx::PxVec3 *velocities=0)=0 |
| virtual void | getParticleList (const PointParams *¶ms, physx::PxU32 &numPoints, const physx::PxVec3 *&velocities, physx::PxU32 &numVelocities) const =0 |
| Access the list of shapes. | |
| virtual void | getSphereList (const SphereParams *¶ms, physx::PxU32 &numSpheres, const physx::PxVec3 *&velocities, physx::PxU32 &numVelocities) const =0 |
| virtual void | getEllipsoidList (const EllipsoidParams *¶ms, physx::PxU32 &numEllipsoids, const physx::PxVec3 *&velocities, physx::PxU32 &numVelocities) const =0 |
| virtual physx::PxU32 | getParticleCount () const =0 |
| Get the number of points. | |
| virtual physx::PxVec3 | getParticlePos (physx::PxU32 index) const =0 |
| Get the position of point. | |
| virtual physx::PxU32 | getSphereCount () const =0 |
| Get the number of spheres. | |
| virtual physx::PxVec3 | getSphereCenter (physx::PxU32 index) const =0 |
| Get the center of the sphere. | |
| virtual physx::PxF32 | getSphereRadius (physx::PxU32 index) const =0 |
| Get the radius of the sphere. | |
| virtual physx::PxU32 | getEllipsoidCount () const =0 |
| Get the number of ellipsoids. | |
| virtual physx::PxVec3 | getEllipsoidCenter (physx::PxU32 index) const =0 |
| Get the center of the ellipsoid. | |
| virtual physx::PxF32 | getEllipsoidRadius (physx::PxU32 index) const =0 |
| Get the radius of the ellipsoid. | |
| virtual physx::PxVec3 | getEllipsoidNormal (physx::PxU32 index) const =0 |
| Get the normal of the ellipsoid. | |
| virtual physx::PxF32 | getEllipsoidPolarRadius (physx::PxU32 index) const =0 |
| Get the polar radius of the ellipsoid. | |
| virtual physx::PxF32 | getDistance () const =0 |
| Get average distance between particles. | |
Explicit geometry. Coordinates of each particle are given explicitly.
| virtual void physx::apex::NxEmitterExplicitGeom::addEllipsoidList | ( | physx::PxU32 | count, |
| const EllipsoidParams * | params, | ||
| const physx::PxVec3 * | velocities = 0 |
||
| ) | [pure virtual] |
| virtual void physx::apex::NxEmitterExplicitGeom::addParticleList | ( | physx::PxU32 | count, |
| const PointListData & | data | ||
| ) | [pure virtual] |
| virtual void physx::apex::NxEmitterExplicitGeom::addParticleList | ( | physx::PxU32 | count, |
| const PointParams * | params, | ||
| const physx::PxVec3 * | velocities = 0 |
||
| ) | [pure virtual] |
Add particles to geometry to be emitted.
| [in] | count | - number of particles being added by this call |
| [in] | params | must be specified. When emitted, these relative positions are added to emitter actor position |
| [in] | velocities | if NULL, the geometry's velocity list will be padded with zero velocities and the asset's velocityRange will be used for velocity |
| virtual void physx::apex::NxEmitterExplicitGeom::addParticleList | ( | physx::PxU32 | count, |
| const physx::PxVec3 * | positions, | ||
| const physx::PxVec3 * | velocities = 0 |
||
| ) | [pure virtual] |
| virtual void physx::apex::NxEmitterExplicitGeom::addSphereList | ( | physx::PxU32 | count, |
| const SphereParams * | params, | ||
| const physx::PxVec3 * | velocities = 0 |
||
| ) | [pure virtual] |
| virtual physx::PxF32 physx::apex::NxEmitterExplicitGeom::getDistance | ( | ) | const [pure virtual] |
Get average distance between particles.
| virtual physx::PxVec3 physx::apex::NxEmitterExplicitGeom::getEllipsoidCenter | ( | physx::PxU32 | index | ) | const [pure virtual] |
Get the center of the ellipsoid.
| virtual physx::PxU32 physx::apex::NxEmitterExplicitGeom::getEllipsoidCount | ( | ) | const [pure virtual] |
Get the number of ellipsoids.
| virtual void physx::apex::NxEmitterExplicitGeom::getEllipsoidList | ( | const EllipsoidParams *& | params, |
| physx::PxU32 & | numEllipsoids, | ||
| const physx::PxVec3 *& | velocities, | ||
| physx::PxU32 & | numVelocities | ||
| ) | const [pure virtual] |
| virtual physx::PxVec3 physx::apex::NxEmitterExplicitGeom::getEllipsoidNormal | ( | physx::PxU32 | index | ) | const [pure virtual] |
Get the normal of the ellipsoid.
| virtual physx::PxF32 physx::apex::NxEmitterExplicitGeom::getEllipsoidPolarRadius | ( | physx::PxU32 | index | ) | const [pure virtual] |
Get the polar radius of the ellipsoid.
| virtual physx::PxF32 physx::apex::NxEmitterExplicitGeom::getEllipsoidRadius | ( | physx::PxU32 | index | ) | const [pure virtual] |
Get the radius of the ellipsoid.
| virtual physx::PxU32 physx::apex::NxEmitterExplicitGeom::getParticleCount | ( | ) | const [pure virtual] |
Get the number of points.
| virtual void physx::apex::NxEmitterExplicitGeom::getParticleList | ( | const PointParams *& | params, |
| physx::PxU32 & | numPoints, | ||
| const physx::PxVec3 *& | velocities, | ||
| physx::PxU32 & | numVelocities | ||
| ) | const [pure virtual] |
Access the list of shapes.
| virtual physx::PxVec3 physx::apex::NxEmitterExplicitGeom::getParticlePos | ( | physx::PxU32 | index | ) | const [pure virtual] |
Get the position of point.
| virtual physx::PxVec3 physx::apex::NxEmitterExplicitGeom::getSphereCenter | ( | physx::PxU32 | index | ) | const [pure virtual] |
Get the center of the sphere.
| virtual physx::PxU32 physx::apex::NxEmitterExplicitGeom::getSphereCount | ( | ) | const [pure virtual] |
Get the number of spheres.
| virtual void physx::apex::NxEmitterExplicitGeom::getSphereList | ( | const SphereParams *& | params, |
| physx::PxU32 & | numSpheres, | ||
| const physx::PxVec3 *& | velocities, | ||
| physx::PxU32 & | numVelocities | ||
| ) | const [pure virtual] |
| virtual physx::PxF32 physx::apex::NxEmitterExplicitGeom::getSphereRadius | ( | physx::PxU32 | index | ) | const [pure virtual] |
Get the radius of the sphere.
| virtual void physx::apex::NxEmitterExplicitGeom::resetParticleList | ( | ) | [pure virtual] |
Remove all shapes.