Package com.jme3.effect
Class ParticlePointMesh
java.lang.Object
com.jme3.scene.Mesh
com.jme3.effect.ParticleMesh
com.jme3.effect.ParticlePointMesh
- All Implemented Interfaces:
Savable,JmeCloneable,Cloneable
-
Nested Class Summary
Nested classes/interfaces inherited from class com.jme3.effect.ParticleMesh
ParticleMesh.Type -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidinitParticleData(ParticleEmitter emitter, int numParticles) Initialize mesh data.voidsetImagesXY(int imagesX, int imagesY) Set the images on the X and Y coordinatesvoidupdateParticleData(Particle[] particles, Camera cam, Matrix3f inverseRotation) Update the particle visual data.Methods inherited from class com.jme3.scene.Mesh
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, getMorphTarget, getMorphTargetNames, getMorphTargets, getNumLodLevels, getPatchVertexCount, getPointSize, getShortBuffer, getTriangle, getTriangle, getTriangle, getTriangleCount, getTriangleCount, getVertexCount, hasMorphTargets, isAnimated, isAnimatedByBone, isAnimatedByJoint, jmeClone, prepareForAnim, read, removeMorphTarget, removeMorphTarget, scaleTextureCoordinates, setBound, setBuffer, setBuffer, setBuffer, setBuffer, setBuffer, setBuffer, setBuffer, setBuffer, setBuffer, setBuffer, setDynamic, setElementLengths, setId, setInterleaved, setLineWidth, setLodLevels, setMaxNumWeights, setMode, setModeStart, setPatchVertexCount, setStatic, setStreamed, updateBound, updateCounts, write
-
Constructor Details
-
ParticlePointMesh
public ParticlePointMesh()
-
-
Method Details
-
setImagesXY
public void setImagesXY(int imagesX, int imagesY) Description copied from class:ParticleMeshSet the images on the X and Y coordinates- Specified by:
setImagesXYin classParticleMesh- Parameters:
imagesX- Images on the X coordinateimagesY- Images on the Y coordinate
-
initParticleData
Description copied from class:ParticleMeshInitialize mesh data.- Specified by:
initParticleDatain classParticleMesh- Parameters:
emitter- The emitter which will use thisParticleMesh.numParticles- The maximum number of particles to simulate
-
updateParticleData
Description copied from class:ParticleMeshUpdate the particle visual data. Typically called every frame.- Specified by:
updateParticleDatain classParticleMesh- Parameters:
particles- the particles to updatecam- the camera to use for billboardinginverseRotation- the inverse rotation matrix
-