* Added javadoc for ParticleEmitter.setMeshType()
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7951 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
This commit is contained in:
		
							parent
							
								
									a6700cc754
								
							
						
					
					
						commit
						a1e1057622
					
				| @ -275,17 +275,20 @@ public class ParticleEmitter extends Geometry { | ||||
|     /** | ||||
|      * Returns the mesh type used by the particle emitter. | ||||
|      *  | ||||
|      * <p>This value is set in the constructor and cannot be modified | ||||
|      * afterwards. | ||||
|      *  | ||||
|      * @return the mesh type used by the particle emitter. | ||||
|      *  | ||||
|      * @see #setMeshType(com.jme3.effect.ParticleMesh.Type) | ||||
|      * @see ParticleEmitter#ParticleEmitter(java.lang.String, com.jme3.effect.ParticleMesh.Type, int)  | ||||
|      */ | ||||
|     public ParticleMesh.Type getMeshType() { | ||||
|         return meshType; | ||||
|     } | ||||
| 
 | ||||
|     /** | ||||
|      * Sets the type of mesh used by the particle emitter. | ||||
|      * @param meshType The mesh type to use | ||||
|      */ | ||||
|     public void setMeshType(ParticleMesh.Type meshType) { | ||||
|         this.meshType = meshType; | ||||
|         switch (meshType) { | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user