Component:ColorByVelocityDirectionSH2: Difference between revisions

From Resonite Wiki
Automated: create new component page
 
add info
 
Line 3: Line 3:
|Name=Color By Velocity Direction SH2
|Name=Color By Velocity Direction SH2
}}
}}
The '''Color By Velocity Direction SH2''' component
The '''Color By Velocity Direction SH2''' component samples a ColorX spherical harmonic based on the velocity vector of a particle in it's simulation space. that sampled color becomes the particle's color.
{{stub}}


== Fields ==
== Fields ==
{{Table ComponentFields
{{Table ComponentFields
|SH|'''[[Type:SphericalHarmonicsL2`1|SphericalHarmonicsL2`1]]<[[Type:ColorX|ColorX]]>'''|TypeAdv0=true|
|SH|'''[[Type:SphericalHarmonicsL2`1|SphericalHarmonicsL2`1]]<[[Type:ColorX|ColorX]]>'''|TypeAdv0=true| The spherical harmonic to sample.
}}
}}


Line 19: Line 18:
[[Category:Components:Rendering:Particle System:Modules{{#translation:}}|Color By Velocity Direction SH2]]
[[Category:Components:Rendering:Particle System:Modules{{#translation:}}|Color By Velocity Direction SH2]]
[[Category:Components{{#translation:}}|Color By Velocity Direction SH2]]
[[Category:Components{{#translation:}}|Color By Velocity Direction SH2]]
[[Category:ComponentStubs]]

Latest revision as of 23:35, 31 March 2025

Component image 
Color By Velocity Direction SH2 component as seen in the Scene Inspector

The Color By Velocity Direction SH2 component samples a ColorX spherical harmonic based on the velocity vector of a particle in it's simulation space. that sampled color becomes the particle's color.

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.
SH SphericalHarmonicsL2`1<ColorX> The spherical harmonic to sample.

Usage

Examples

See Also