|
@@ -275,17 +275,20 @@ public class ParticleEmitter extends Geometry {
|
|
/**
|
|
/**
|
|
* Returns the mesh type used by the particle emitter.
|
|
* 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.
|
|
* @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)
|
|
* @see ParticleEmitter#ParticleEmitter(java.lang.String, com.jme3.effect.ParticleMesh.Type, int)
|
|
*/
|
|
*/
|
|
public ParticleMesh.Type getMeshType() {
|
|
public ParticleMesh.Type getMeshType() {
|
|
return meshType;
|
|
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) {
|
|
public void setMeshType(ParticleMesh.Type meshType) {
|
|
this.meshType = meshType;
|
|
this.meshType = meshType;
|
|
switch (meshType) {
|
|
switch (meshType) {
|