Component:LineEmitter

From Resonite Wiki
Component image 
Line Emitter component as seen in the Scene Inspector

The LineEmitter component is used with particle systems (see Photon Dust) to create particles from a straight 3d line made from two points.

Fields

Fields
Name Type Description
persistent Bool Determines whether or not this item will be saved to the server.
UpdateOrder Int Controls the order in which this component is updated.
Enabled Bool Controls whether or not this component is enabled. Some components stop their functionality when this field is disabled, but some don't.
System ParticleSystem The particle system to get data from like style and particle count limits.
Rate Float how fast to emit particles into the system.
BurstOnActivatedMin Float The minimum value of the range of particle count to be emitted when activated as a burst.
BurstOnActivatedMax Float The maximum value of the range of particle count to be emitted when activated as a burst.
BurstOnStart Bool Whether or not particle bursts should be done on spawn.
Point0 Float3 Point 1 of the line for this Emitter drawn between two points.
Point1 Float3 Point 2 of the line for this Emitter drawn between two points.
Color0 ColorX The starting Color multiplier for particles emitted from this Emitter when being emitted nearest to Point0.
Color1 ColorX The starting Color multiplier for particles emitted from this Emitter when being emitted nearest to Point1.
DirectionMode LineEmitterDirection How to handle the direction when emitting particles from the line.
Direction0 Float3 The direction particles should go when being emitted nearest to Point0.
Direction1 Float3 The direction particles should go when being emitted nearest to Point1.
UpDirection Float3 The direction that should be considered up for this line.
RandomDirectionWeight Float How much to randomize the velocity of new particles (this is a magnitude)
DirectionPostTransform Float3x3 The direction the particles should face as an extra matrix transform after the final particle starting direction has been calculated.

Usage

Examples

See Also