Component:ColorBySpeedMinMax: Difference between revisions

From Resonite Wiki
Automated: create new component page
 
add info
 
Line 3: Line 3:
|Name=Color By Speed Min Max
|Name=Color By Speed Min Max
}}
}}
The '''Color By Speed Min Max''' component
The '''Color By Speed Min Max''' component makes particles in a particle system change their color based on their speed using a minimum and maximum speed value. Lerps between min and max colors.
{{stub}}


== Fields ==
== Fields ==
{{Table ComponentFields
{{Table ComponentFields
|MinSpeed|Float|
|MinSpeed|Float| The speed the particle has to be be traveling at or under to become <code>MinColor</code>.
|MaxSpeed|Float|
|MaxSpeed|Float| The speed the particle has to be be traveling at or above to become <code>MaxColor</code>.
|MinColor|ColorX|
|MinColor|ColorX| The color to display when traveling at or below <code>MinSpeed</code>.
|MaxColor|ColorX|
|MaxColor|ColorX| The color to display when traveling at or above <code>MaxSpeed</code>.
}}
}}


== Usage ==
== Usage ==
{{stub}}


== Examples ==
== Examples ==
{{stub}}


== See Also ==
== See Also ==
Line 22: Line 23:
[[Category:Components:Rendering:Particle System:Modules{{#translation:}}|Color By Speed Min Max]]
[[Category:Components:Rendering:Particle System:Modules{{#translation:}}|Color By Speed Min Max]]
[[Category:Components{{#translation:}}|Color By Speed Min Max]]
[[Category:Components{{#translation:}}|Color By Speed Min Max]]
[[Category:ComponentStubs]]

Latest revision as of 22:42, 18 March 2025

Component image 
Color By Speed Min Max component as seen in the Scene Inspector

The Color By Speed Min Max component makes particles in a particle system change their color based on their speed using a minimum and maximum speed value. Lerps between min and max colors.

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.
MinSpeed Float The speed the particle has to be be traveling at or under to become MinColor.
MaxSpeed Float The speed the particle has to be be traveling at or above to become MaxColor.
MinColor ColorX The color to display when traveling at or below MinSpeed.
MaxColor ColorX The color to display when traveling at or above MaxSpeed.

Usage

This article or section is a Stub. You can help the Resonite Wiki by expanding it.

Examples

This article or section is a Stub. You can help the Resonite Wiki by expanding it.

See Also