docs.unity.cn
Search Results for

    Show / Hide Table of Contents

    Property maxRaycastDistance

    maxRaycastDistance

    Gets or sets the max distance of ray cast when the line type is a straight line. Increasing this value will make the line reach further.

    Declaration
    public float maxRaycastDistance { get; set; }
    Property Value
    Type Description
    float
    See Also
    StraightLine
    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)