Component:ColorBySpeedTexture: Difference between revisions

From Resonite Wiki
Automated: create new component page
 
add info
 
Line 3: Line 3:
|Name=Color By Speed Texture
|Name=Color By Speed Texture
}}
}}
The '''Color By Speed Texture''' component
The '''Color By Speed Texture''' component samples from the x axis of the UV depending on the min and max speeds being a 0-1 range and values beyond the range being extrapolated.
{{stub}}


== Fields ==
== Fields ==
{{Table ComponentFields
{{Table ComponentFields
|MinSpeed|Float|
|MinSpeed|Float| The speed the particle has to be be traveling at or under to be considered minimum speed.
|MaxSpeed|Float|
|MaxSpeed|Float| The speed the particle has to be be traveling at or above to be considered maximum speed.
|U_WrapMode|WrapMode|
|U_WrapMode|WrapMode| How to wrap around the X axis.
|Texture|{{RootFieldType|AssetRef`1|[[Type:Texture2D|Texture2D]]}}|TypeAdv3=true|
|Texture|{{RootFieldType|AssetRef`1|[[Type:Texture2D|Texture2D]]}}|TypeAdv3=true| The texture to sample color from.
}}
}}


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


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


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

Latest revision as of 22:46, 18 March 2025

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

The Color By Speed Texture component samples from the x axis of the UV depending on the min and max speeds being a 0-1 range and values beyond the range being extrapolated.

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 be considered minimum speed.
MaxSpeed Float The speed the particle has to be be traveling at or above to be considered maximum speed.
U_WrapMode WrapMode How to wrap around the X axis.
Texture Texture2D The texture to sample color from.

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