docs.unity.cn
    Show / Hide Table of Contents

    Enum LightEstimation

    Defines types of light estimation.

    Namespace: UnityEngine.XR.ARFoundation
    Syntax
    [Flags]
    public enum LightEstimation

    Fields

    Name Description Value
    None

    No light estimation.


    0
    AmbientIntensity

    An estimate for the average ambient intensity of the environment.


    1
    AmbientColor

    An estimate for the average ambient color of the environment.


    2
    AmbientSphericalHarmonics

    Estimate for the spherical harmonics representing the average ambient lighting of the environment.


    4
    MainLightDirection

    An estimate for the direction of the main light in the environment.


    8
    MainLightIntensity

    An estimate for the intensity of the main light in the environment.


    16

    Extension Methods

    LightEstimationExtensions.ToFeature()
    LightEstimationExtensions.ToLightEstimationMode()
    Back to top Copyright © 2023 Unity Technologies — Terms of use
    Generated by DocFX
    on Monday, May 22, 2023