docs.unity3d.com
Search Results for

    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.Interactors
    Assembly: Unity.XR.Interaction.Toolkit.dll
    Syntax
    public enum XRRayInteractor.LineType

    Fields

    Name Description
    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.

    See Also
    lineType
    In This Article
    Back to top
    Copyright © 2025 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)