env3d.advanced
Class EnvParticle

java.lang.Object
  extended by env3d.GameObjectAdapter
      extended by env3d.advanced.EnvAbstractNode
          extended by env3d.advanced.EnvParticle
Direct Known Subclasses:
Explosion

public class EnvParticle
extends EnvAbstractNode


Field Summary
protected  com.jme3.effect.ParticleEmitter pMesh
           
 
Fields inherited from class env3d.advanced.EnvAbstractNode
rotateX, rotateY, rotateZ, scale
 
Fields inherited from class env3d.GameObjectAdapter
assetManager, currentAction, currentModel, currentTexture, internalObject, jme_node, lighting, locator, mat, mat_lit, objectCache, q, qX, qY, qZ
 
Constructor Summary
EnvParticle(int numParticles)
           
 
Method Summary
 com.jme3.effect.ParticleEmitter getJmeParticleSystem()
          Returns the internal java monkey particle system.
 void setTexture(java.lang.String textureFile)
          Sets the texture for this particle system.
 
Methods inherited from class env3d.advanced.EnvAbstractNode
attach, getRotateX, getRotateY, getRotateZ, getScale, getX, getY, getZ, remove, setRotateX, setRotateY, setRotateZ, setScale, setX, setY, setZ, update, updateRotation
 
Methods inherited from class env3d.GameObjectAdapter
drawSquare, drawSquare, getFieldFromObject, getJme_node, registerLocator, useLightingMaterial
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

pMesh

protected com.jme3.effect.ParticleEmitter pMesh
Constructor Detail

EnvParticle

public EnvParticle(int numParticles)
Method Detail

setTexture

public void setTexture(java.lang.String textureFile)
Sets the texture for this particle system. Only works with mesh particles.

Parameters:
textureFile -

getJmeParticleSystem

public com.jme3.effect.ParticleEmitter getJmeParticleSystem()
Returns the internal java monkey particle system. Caller must use this to customize the particle system

Returns: