Struct ARLightEstimationData
A structure for light estimation information provided by the AR device.
Implements
Inherited Members
Namespace: UnityEngine.XR.ARFoundation
Assembly: solution.dll
Syntax
public struct ARLightEstimationData : IEquatable<ARLightEstimationData>
Properties
Name | Description |
---|---|
ambientSphericalHarmonics | An estimation of the ambient scene lighting using spherical harmonics at the Level 2. |
averageBrightness | An estimate for the average brightness in the scene.
Use |
averageColorTemperature | An estimate for the average color temperature of the scene.
Use |
averageIntensityInLumens | An estimate for the average intensity, in lumens, in the scene.
Use |
averageMainLightBrightness | An estimate for the average brightness of the main light estimate in the scene.
Use |
colorCorrection | The scaling factors used for color correction. The RGB scale factors are used to match the color of the light in the scene. The alpha channel value is platform-specific. |
mainLightColor | The estimated color of the main light. |
mainLightDirection | An estimate of where the main light of the scene is coming from. |
mainLightIntensityLumens | An estimate of the intensity of the main light in lumens. |
Methods
Name | Description |
---|---|
Equals(object) | Compares for equality. |
Equals(ARLightEstimationData) | Compares for equality. |
GetHashCode() | Generates a hash code suitable for use in |
ToString() | Generates a string representation of this ARLightEstimationData. |
Operators
Name | Description |
---|---|
operator ==(ARLightEstimationData, ARLightEstimationData) | Compares |
operator !=(ARLightEstimationData, ARLightEstimationData) | Compares |