docs.unity3d.com
    显示 / 隐藏目录

    Interface IProvidesLightEstimation

    Defines the API for a Light Estimation Provider This functionality provider is responsible for light estimation

    Inherited Members
    IFunctionalityProvider.LoadProvider()
    IFunctionalityProvider.ConnectSubscriber(Object)
    IFunctionalityProvider.UnloadProvider()
    Namespace: Unity.MARS
    Syntax
    public interface IProvidesLightEstimation : IFunctionalityProvider

    Methods

    TryGetLightEstimation(out MRLightEstimation)

    Try to get the light estimation data

    Declaration
    bool TryGetLightEstimation(out MRLightEstimation lightEstimation)
    Parameters
    Type Name Description
    MRLightEstimation lightEstimation

    The light estimation data

    Returns
    Type Description
    Boolean

    Events

    lightEstimationUpdated

    Called when the light estimation changes

    Declaration
    event Action<MRLightEstimation> lightEstimationUpdated
    Event Type
    Type Description
    Action<MRLightEstimation>
    返回到顶部
    Copyright © 2023 Unity Technologies — 商标和使用条款
    • 法律条款
    • 隐私政策
    • Cookie
    • 不要出售或分享我的个人信息
    • Your Privacy Choices (Cookie Settings)