docs.unity.cn
Search Results for

    Show / Hide Table of Contents

    Method TryGetRadius

    TryGetRadius(out float)

    Retrieves the joint's radius, if available.

    Declaration
    public bool TryGetRadius(out float radius)
    Parameters
    Type Name Description
    float radius

    Assigned the tracked radius of this joint, if successful. Set to zero, if unsuccessful.

    Returns
    Type Description
    bool

    Returns true if successful and the radius was filled out with valid tracking data, returns false otherwise.

    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)