Component:AmbientLightSH2
From Resonite Wiki
More actions
Component image 
Ambient Light SH2 component as seen in the Scene Inspector

The Ambient Light SH2 component creates ambient lighting data that creates global colored light using sampling from a Level 2 Spherical Harmonic type ColorX.
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. |
AmbientLight
|
SphericalHarmonicsL2`1<ColorX> | The spherical harmonic to sample for ambient lighting. |
Sync Delegates
| Method Name | Method type and Arguments. | Is the method hidden? | Description |
|---|---|---|---|
SetActive:ButtonEventHandler
|
ButtonEventHandler | ✓ | Make this ambient lighting component the current world ambient light. |