com.jme3.scene.plugins.blender.particles
Class ParticlesHelper
java.lang.Object
com.jme3.scene.plugins.blender.AbstractBlenderHelper
com.jme3.scene.plugins.blender.particles.ParticlesHelper
public class ParticlesHelper
- extends AbstractBlenderHelper
Constructor Summary |
ParticlesHelper(java.lang.String blenderVersion,
boolean fixUpAxis)
This constructor parses the given blender version and stores the result. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PART_EMITTER
public static final int PART_EMITTER
- See Also:
- Constant Field Values
PART_REACTOR
public static final int PART_REACTOR
- See Also:
- Constant Field Values
PART_HAIR
public static final int PART_HAIR
- See Also:
- Constant Field Values
PART_FLUID
public static final int PART_FLUID
- See Also:
- Constant Field Values
PART_REACT_STA_END
public static final int PART_REACT_STA_END
- See Also:
- Constant Field Values
PART_REACT_MULTIPLE
public static final int PART_REACT_MULTIPLE
- See Also:
- Constant Field Values
PART_LOOP
public static final int PART_LOOP
- See Also:
- Constant Field Values
PART_HAIR_GEOMETRY
public static final int PART_HAIR_GEOMETRY
- See Also:
- Constant Field Values
PART_UNBORN
public static final int PART_UNBORN
- See Also:
- Constant Field Values
PART_DIED
public static final int PART_DIED
- See Also:
- Constant Field Values
PART_TRAND
public static final int PART_TRAND
- See Also:
- Constant Field Values
PART_EDISTR
public static final int PART_EDISTR
- See Also:
- Constant Field Values
PART_STICKY
public static final int PART_STICKY
- See Also:
- Constant Field Values
PART_DIE_ON_COL
public static final int PART_DIE_ON_COL
- See Also:
- Constant Field Values
PART_SIZE_DEFL
public static final int PART_SIZE_DEFL
- See Also:
- Constant Field Values
PART_ROT_DYN
public static final int PART_ROT_DYN
- See Also:
- Constant Field Values
PART_SIZEMASS
public static final int PART_SIZEMASS
- See Also:
- Constant Field Values
PART_ABS_LENGTH
public static final int PART_ABS_LENGTH
- See Also:
- Constant Field Values
PART_ABS_TIME
public static final int PART_ABS_TIME
- See Also:
- Constant Field Values
PART_GLOB_TIME
public static final int PART_GLOB_TIME
- See Also:
- Constant Field Values
PART_BOIDS_2D
public static final int PART_BOIDS_2D
- See Also:
- Constant Field Values
PART_BRANCHING
public static final int PART_BRANCHING
- See Also:
- Constant Field Values
PART_ANIM_BRANCHING
public static final int PART_ANIM_BRANCHING
- See Also:
- Constant Field Values
PART_SELF_EFFECT
public static final int PART_SELF_EFFECT
- See Also:
- Constant Field Values
PART_SYMM_BRANCHING
public static final int PART_SYMM_BRANCHING
- See Also:
- Constant Field Values
PART_HAIR_BSPLINE
public static final int PART_HAIR_BSPLINE
- See Also:
- Constant Field Values
PART_GRID_INVERT
public static final int PART_GRID_INVERT
- See Also:
- Constant Field Values
PART_CHILD_EFFECT
public static final int PART_CHILD_EFFECT
- See Also:
- Constant Field Values
PART_CHILD_SEAMS
public static final int PART_CHILD_SEAMS
- See Also:
- Constant Field Values
PART_CHILD_RENDER
public static final int PART_CHILD_RENDER
- See Also:
- Constant Field Values
PART_CHILD_GUIDE
public static final int PART_CHILD_GUIDE
- See Also:
- Constant Field Values
PART_FROM_VERT
public static final int PART_FROM_VERT
- See Also:
- Constant Field Values
PART_FROM_FACE
public static final int PART_FROM_FACE
- See Also:
- Constant Field Values
PART_FROM_VOLUME
public static final int PART_FROM_VOLUME
- See Also:
- Constant Field Values
PART_FROM_PARTICLE
public static final int PART_FROM_PARTICLE
- See Also:
- Constant Field Values
PART_FROM_CHILD
public static final int PART_FROM_CHILD
- See Also:
- Constant Field Values
PART_PHYS_NO
public static final int PART_PHYS_NO
- See Also:
- Constant Field Values
PART_PHYS_NEWTON
public static final int PART_PHYS_NEWTON
- See Also:
- Constant Field Values
PART_PHYS_KEYED
public static final int PART_PHYS_KEYED
- See Also:
- Constant Field Values
PART_PHYS_BOIDS
public static final int PART_PHYS_BOIDS
- See Also:
- Constant Field Values
PART_DRAW_NOT
public static final int PART_DRAW_NOT
- See Also:
- Constant Field Values
PART_DRAW_DOT
public static final int PART_DRAW_DOT
- See Also:
- Constant Field Values
PART_DRAW_CIRC
public static final int PART_DRAW_CIRC
- See Also:
- Constant Field Values
PART_DRAW_CROSS
public static final int PART_DRAW_CROSS
- See Also:
- Constant Field Values
PART_DRAW_AXIS
public static final int PART_DRAW_AXIS
- See Also:
- Constant Field Values
PART_DRAW_LINE
public static final int PART_DRAW_LINE
- See Also:
- Constant Field Values
PART_DRAW_PATH
public static final int PART_DRAW_PATH
- See Also:
- Constant Field Values
PART_DRAW_OB
public static final int PART_DRAW_OB
- See Also:
- Constant Field Values
PART_DRAW_GR
public static final int PART_DRAW_GR
- See Also:
- Constant Field Values
PART_DRAW_BB
public static final int PART_DRAW_BB
- See Also:
- Constant Field Values
ParticlesHelper
public ParticlesHelper(java.lang.String blenderVersion,
boolean fixUpAxis)
- This constructor parses the given blender version and stores the result. Some functionalities may differ in
different blender versions.
- Parameters:
blenderVersion
- the version read from the blend filefixUpAxis
- a variable that indicates if the Y asxis is the UP axis or not
toParticleEmitter
public ParticleEmitter toParticleEmitter(Structure particleSystem,
BlenderContext blenderContext)
throws BlenderFileException
- Throws:
BlenderFileException
shouldBeLoaded
public boolean shouldBeLoaded(Structure structure,
BlenderContext blenderContext)
- Description copied from class:
AbstractBlenderHelper
- This method analyzes the given structure and the data contained within
blender context and decides if the feature should be loaded.
- Specified by:
shouldBeLoaded
in class AbstractBlenderHelper
- Parameters:
structure
- structure to be analyzedblenderContext
- the blender context
- Returns:
- true if the feature should be loaded and false otherwise