public class ParticlePointMesh extends ParticleMesh
ParticleMesh.Type
Constructor and Description |
---|
ParticlePointMesh() |
Modifier and Type | Method and Description |
---|---|
void |
initParticleData(ParticleEmitter emitter,
int numParticles)
Initialize mesh data.
|
void |
setImagesXY(int imagesX,
int imagesY)
Set the images on the X and Y coordinates
|
void |
updateParticleData(Particle[] particles,
Camera cam,
Matrix3f inverseRotation)
Update the particle visual data.
|
addMorphTarget, clearBuffer, clearCollisionData, clone, cloneFields, cloneForAnim, collideWith, createCollisionData, deepClone, extractVertexData, generateBindPose, generateBindPose, getBound, getBuffer, getBufferList, getBuffers, getElementLengths, getFloatBuffer, getId, getIndexBuffer, getIndicesAsList, getInstanceCount, getLineWidth, getLodLevel, getMaxNumWeights, getMode, getModeStart, getMorphIndex, getMorphTargetNames, getMorphTargets, getNumLodLevels, getPatchVertexCount, getPointSize, getShortBuffer, getTriangle, getTriangle, getTriangle, getTriangleCount, getTriangleCount, getVertexCount, hasMorphTargets, isAnimated, isAnimatedByBone, isAnimatedByJoint, jmeClone, prepareForAnim, read, scaleTextureCoordinates, setBound, setBuffer, setBuffer, setBuffer, setBuffer, setBuffer, setBuffer, setBuffer, setBuffer, setBuffer, setBuffer, setDynamic, setElementLengths, setId, setInterleaved, setLineWidth, setLodLevels, setMaxNumWeights, setMode, setModeStart, setPatchVertexCount, setPointSize, setStatic, setStreamed, updateBound, updateCounts, write
public void setImagesXY(int imagesX, int imagesY)
ParticleMesh
setImagesXY
in class ParticleMesh
imagesX
- Images on the X coordinateimagesY
- Images on the Y coordinatepublic void initParticleData(ParticleEmitter emitter, int numParticles)
ParticleMesh
initParticleData
in class ParticleMesh
emitter
- The emitter which will use this ParticleMesh
.numParticles
- The maxmimum number of particles to simulatepublic void updateParticleData(Particle[] particles, Camera cam, Matrix3f inverseRotation)
ParticleMesh
updateParticleData
in class ParticleMesh