Component:ReflectionProbeSH2

From Resonite Wiki
Component image 
File:ReflectionProbeSH2Component.png
Reflection Probe SH2 component as seen in the Scene Inspector

The Reflection Probe SH2 component is used to turn what a ReflectionProbe sees into a spherical harmonic for use in ambient lighting like a AmbientLightSH2 component.

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.
Probe direct RelayRef`1<ReflectionProbe> The probe to get color data from.
AmbientLight raw output of SphericalHarmonicsL2`1<ColorX> Probe's sampled data as SH2 color data for ambient lighting usage.
Order0Scale Float The scale factor for Order 0 for the spherical harmonics.
Order1Scale Float The scale factor for Order 1 for the spherical harmonics.
Order2Scale Float The scale factor for Order 2 for the spherical harmonics.

Usage

Can be used to drive a AmbientLightSH2 component via a value copy or by drag and dropping this component's AmbientLight into that component's value

Examples

See Also