docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Property Displacement

    Displacement

    This represents the line from the Ray's Origin to a second point on the Ray. The second point will be the Ray End if nothing is hit.

    Declaration
    public float2 Displacement { get; set; }
    Property Value
    Type Description
    float2

    Line vector.

    In This Article
    Back to top
    Copyright © 2024 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)