docs.unity.cn
Search Results for

    Show / Hide Table of Contents

    Method GetTrackedDeviceModel

    GetTrackedDeviceModel(IUIInteractor, out TrackedDeviceModel)

    Retrieves the UI Model for a selected IUIInteractor.

    Declaration
    public bool GetTrackedDeviceModel(IUIInteractor interactor, out TrackedDeviceModel model)
    Parameters
    Type Name Description
    IUIInteractor interactor

    The IUIInteractor you want the model for.

    TrackedDeviceModel model

    The returned model that reflects the UI state of the interactor.

    Returns
    Type Description
    bool

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

    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)