docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Property mainLightDirection

    mainLightDirection

    An estimate of where the main light of the scene is coming from.

    Declaration
    public Vector3? mainLightDirection { get; set; }
    Property Value
    Type Description
    Vector3?
    Remarks

    mainLightDirection can be null when light estimation is not enabled in the ARSession or a platform-specific error has occurred.

    In This Article
    Back to top Copyright © 2023 Unity Technologies — Terms of use
    Generated by DocFX
    on Friday, September 22, 2023