docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Struct ARLightEstimationData

    A structure for light estimation information provided by the AR device.

    Implements
    IEquatable<ARLightEstimationData>
    Inherited Members
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetType()
    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 averageBrightness.HasValue to determine if this information is available.

    averageColorTemperature

    An estimate for the average color temperature of the scene. Use averageColorTemperature.HasValue to determine if this information is available.

    averageIntensityInLumens

    An estimate for the average intensity, in lumens, in the scene. Use averageIntensityInLumens.HasValue to determine if this information is available.

    averageMainLightBrightness

    An estimate for the average brightness of the main light estimate in the scene. Use averageMainLightBrightness.HasValue to determine if this information is available.

    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 HashSet and Dictionary.

    ToString()

    Generates a string representation of this ARLightEstimationData.

    Operators

    Name Description
    operator ==(ARLightEstimationData, ARLightEstimationData)

    Compares lhs and rhs for equality using Equals(ARLightEstimationData).

    operator !=(ARLightEstimationData, ARLightEstimationData)

    Compares lhs and rhs for inequality using Equals(ARLightEstimationData).

    In This Article
    • Properties
    • Methods
    • Operators
    Back to top
    Copyright © 2024 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)