docs.unity.cn
Search Results for

    Show / Hide Table of Contents

    Property blendVisualLinePoints

    blendVisualLinePoints

    Blend the line sample points Unity uses for ray casting with the current pose of the controller. Use this to make the line visual stay connected with the controller instead of lagging behind.

    Declaration
    public bool blendVisualLinePoints { get; set; }
    Property Value
    Type Description
    bool
    Remarks

    When the controller is configured to sample tracking input directly before rendering to reduce input latency, the controller may be in a new position or rotation relative to the starting point of the sample curve used for ray casting.
    A value of false will make the line visual stay at a fixed reference frame rather than bending or curving towards the end of the ray cast line.

    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)