GoogleARCore. EnvironmentalLight
A component that automatically adjusts lighting settings for the scene to be inline with those estimated by ARCore.
Summary
Inheritance
Inherits from: MonoBehaviour
Public attributes |
|
---|---|
DirectionalLight
|
Light
The directional light used by
LightEstimationMode . |
Public functions |
|
---|---|
Update()
|
void
Unity update method that sets global light estimation shader constant and RenderSettings to match ARCore's calculated values.
|
Public attributes
DirectionalLight
Light DirectionalLight
The directional light used by LightEstimationMode
.
EnvironmentalHDRWithReflections
and LightEstimationMode
.EnvironmentalHDRWithoutReflections
. The rotation and color will be updated automatically by this component.
Public functions
Update
void Update()
Unity update method that sets global light estimation shader constant and RenderSettings to match ARCore's calculated values.