docs.unity.cn
Search Results for

    Show / Hide Table of Contents

    Method TryGetUIModel

    TryGetUIModel(out TrackedDeviceModel)

    Attempts to retrieve the current UI Model.

    Declaration
    public bool TryGetUIModel(out TrackedDeviceModel model)
    Parameters
    Type Name Description
    TrackedDeviceModel model

    The returned model that reflects the UI state of this Interactor.

    Returns
    Type Description
    bool

    Returns true if the model was able to retrieved. Otherwise, returns false.

    Implements
    IUIInteractor.TryGetUIModel(out TrackedDeviceModel)
    In This Article
    Back to top
    Copyright © 2023 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)