989onan bot (talk | contribs) Automated: create new component page |
989onan bot (talk | contribs) Automated: update Fields |
||
| (One intermediate revision by one other user not shown) | |||
| Line 3: | Line 3: | ||
|Name=Particle Lights Module | |Name=Particle Lights Module | ||
}} | }} | ||
The '''ParticleLightsModule''' makes a particle system create lights every so often for emitted particles that follow the particle they're assigned to. | |||
This component is part of the [[Photon Dust]] system made by [[User:Frooxius|Frooxius]]. | |||
== Fields == | == Fields == | ||
{{Table ComponentFields | {{Table ComponentFields | ||
|TemplateLight|{{RootFieldType|RelayRef`1|[[Component:Light|Light]]}}|TypeAdv0=true| | |TemplateLight|{{RootFieldType|RelayRef`1|[[Component:Light|Light]]}}|TypeAdv0=true| The light to use as a template. | ||
|LightsRatio|Float| | |LightsRatio|Float| How many lights as a percentage there should be from a 0 to 1 range. | ||
|Distribution|ParticleFollowerDistribution| | |Distribution|ParticleFollowerDistribution| How to distribute the lights among the particles being emitted. | ||
|MaxLights|Int| | |MaxLights|Int| The maximum number of lights that the particle system can have. | ||
|MultiplyColorByParticle|Bool| | |MultiplyColorByParticle|Bool| Whether to multiply the color of the lights by the color of the particle it is attached to. | ||
|MultiplyIntensityByAlpha|Bool| | |MultiplyIntensityByAlpha|Bool| Whether to multiply the intensity of the lights by the alpha channel of the color of the particle it is attached to. | ||
|MultiplyRangeBySize|Bool| | |MultiplyRangeBySize|Bool| Whether to multiply the range of the light based on the size of the particle it is attached to. | ||
|AngleMultiplier|AngleMultiplier| | |AngleMultiplier|AngleMultiplier| How to influence the angle of the light based on the angle of the particle it is following. | ||
|RangeMultiplier|Float| | |RangeMultiplier|Float| How much to amplify the range of the light. | ||
|IntensityMultiplier|Float| | |IntensityMultiplier|Float| How much to amplify the intensity of the light. | ||
}} | }} | ||
== Usage == | == Usage == | ||
Attach to a slot, add to the list of modules in a [[Component:ParticleSystem]], and adjust the values to make the desired effect from this component. | |||
== Examples == | == Examples == | ||
{{stub}} | |||
== See Also == | == See Also == | ||
* [[Component:ParticleSystem]] | |||
* [[Photon Dust]] | |||
[[Category:Components:Rendering:Particle System:Modules{{#translation:}}|Particle Lights Module]] | [[Category:Components:Rendering:Particle System:Modules{{#translation:}}|Particle Lights Module]] | ||
[[Category:Components{{#translation:}}|Particle Lights Module]] | [[Category:Components{{#translation:}}|Particle Lights Module]] | ||
Latest revision as of 06:03, 17 March 2025
Component image File:ParticleLightsModuleComponent.pngParticle Lights Module component as seen in the Scene Inspector
The ParticleLightsModule makes a particle system create lights every so often for emitted particles that follow the particle they're assigned to.
This component is part of the Photon Dust system made by Frooxius.
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. |
TemplateLight
|
direct RelayRef`1<Light> | The light to use as a template. |
LightsRatio
|
Float | How many lights as a percentage there should be from a 0 to 1 range. |
Distribution
|
ParticleFollowerDistribution | How to distribute the lights among the particles being emitted. |
MaxLights
|
Int | The maximum number of lights that the particle system can have. |
MultiplyColorByParticle
|
Bool | Whether to multiply the color of the lights by the color of the particle it is attached to. |
MultiplyIntensityByAlpha
|
Bool | Whether to multiply the intensity of the lights by the alpha channel of the color of the particle it is attached to. |
MultiplyRangeBySize
|
Bool | Whether to multiply the range of the light based on the size of the particle it is attached to. |
AngleMultiplier
|
AngleMultiplier | How to influence the angle of the light based on the angle of the particle it is following. |
RangeMultiplier
|
Float | How much to amplify the range of the light. |
IntensityMultiplier
|
Float | How much to amplify the intensity of the light. |
Usage
Attach to a slot, add to the list of modules in a Component:ParticleSystem, and adjust the values to make the desired effect from this component.
Examples
This article or section is a stub. You can help the Resonite wiki by expanding it.