Class LineSegmentEmitter
java.lang.Object
com.ardor3d.extension.effect.particle.emitter.SavableParticleEmitter
com.ardor3d.extension.effect.particle.emitter.LineSegmentEmitter
- All Implemented Interfaces:
ParticleEmitter
,Savable
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionrandomEmissionPoint
(Vector3 store) Get the next point from this emitter.void
read
(InputCapsule capsule) void
setSource
(LineSegment3 source) void
write
(OutputCapsule capsule) Methods inherited from class com.ardor3d.extension.effect.particle.emitter.SavableParticleEmitter
getClassTag
-
Constructor Details
-
LineSegmentEmitter
public LineSegmentEmitter() -
LineSegmentEmitter
- Parameters:
source
- the segment to use as our source
-
-
Method Details
-
setSource
-
getSource
-
randomEmissionPoint
Description copied from interface:ParticleEmitter
Get the next point from this emitter.- Parameters:
store
- the vector to store our point in. If null, a new one is created.- Returns:
- the vector we stored in
-
read
- Throws:
IOException
-
write
- Throws:
IOException
-