Forráskód Böngészése

* Added javadoc for ParticleEmitter.setMeshType()

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7951 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
Sha..om 14 éve
szülő
commit
a1e1057622
1 módosított fájl, 5 hozzáadás és 2 törlés
  1. 5 2
      engine/src/core/com/jme3/effect/ParticleEmitter.java

+ 5 - 2
engine/src/core/com/jme3/effect/ParticleEmitter.java

@@ -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) {