docs.unity3d.com
    Show / Hide Table of Contents

    Enum XRRayInteractor.LineType

    Sets which trajectory path Unity uses for the cast when detecting collisions.

    Namespace: UnityEngine.XR.Interaction.Toolkit
    Syntax
    public enum LineType

    Fields

    Name Description Value
    BezierCurve

    Uses a control point and an end point to create a quadratic Bézier curve.

    ProjectileCurve

    Samples the trajectory of a projectile to generate a projectile curve.

    StraightLine

    Performs a single ray cast into the Scene with a set ray length.

    Back to top
    Terms of use
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023