989onan bot (talk | contribs) Automated: update Fields |
add info |
||
Line 3: | Line 3: | ||
|Name=Line Emitter | |Name=Line Emitter | ||
}} | }} | ||
The '''LineEmitter''' component is used with particle systems (see [[Photon Dust]]) to create particles from a straight 3d line made from two points. | |||
== | == Fields == | ||
{{Table ComponentFields | {{Table ComponentFields | ||
|System|'''[[Component:ParticleSystem|ParticleSystem]]'''|TypeAdv0=true| | |System|'''[[Component:ParticleSystem|ParticleSystem]]'''|TypeAdv0=true| {{Template:Emitter_System}} | ||
|Rate|Float| | |Rate|Float| {{Template:Emitter_Rate}} | ||
|BurstOnActivatedMin|Float| | |BurstOnActivatedMin|Float| {{Template:Emitter_BurstOnActivatedMin}} | ||
|BurstOnActivatedMax|Float| | |BurstOnActivatedMax|Float| {{Template:Emitter_BurstOnActivatedMax}} | ||
|BurstOnStart|Bool| | |BurstOnStart|Bool| {{Template:Emitter_BurstOnStart}} | ||
|Point0|Float3| | |Point0|Float3| Point 1 of the line for this Emitter drawn between two points. | ||
|Point1|Float3| | |Point1|Float3| Point 2 of the line for this Emitter drawn between two points. | ||
|Color0|ColorX| | |Color0|ColorX| The starting Color multiplier for particles emitted from this Emitter when being emitted nearest to <code>Point0</code>. | ||
|Color1|ColorX| | |Color1|ColorX| The starting Color multiplier for particles emitted from this Emitter when being emitted nearest to <code>Point1</code>. | ||
|DirectionMode|LineEmitterDirection| | |DirectionMode|LineEmitterDirection| How to handle the direction when emitting particles from the line. | ||
|Direction0|Float3| | |Direction0|Float3| The direction particles should go when being emitted nearest to <code>Point0</code>. | ||
|Direction1|Float3| | |Direction1|Float3| The direction particles should go when being emitted nearest to <code>Point1</code>. | ||
|UpDirection|Float3| | |UpDirection|Float3| The direction that should be considered up for this line. | ||
|RandomDirectionWeight|Float| | |RandomDirectionWeight|Float|{{Template:Emitter_RandomDirectionWeight}} | ||
|DirectionPostTransform|Float3x3| | |DirectionPostTransform|Float3x3| The direction particles should be when spawned post transform using a matrix. | ||
}} | }} | ||
== | == Usage == | ||
== Examples == | == Examples == | ||
== See Also == | == See Also == | ||
* [[Photon Dust]] | |||
[[Category:Components:Rendering:Particle System:Emitters{{#translation:}}|Line Emitter]] | [[Category:Components:Rendering:Particle System:Emitters{{#translation:}}|Line Emitter]] | ||
[[Category:Components{{#translation:}}|Line Emitter]] | [[Category:Components{{#translation:}}|Line Emitter]] | ||
Revision as of 14:50, 16 June 2025
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
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 particles should be when spawned post transform using a matrix. |