docs.unity.cn
    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 Copyright © 2022 Unity Technologies
    Generated by DocFX
    on Friday, August 12, 2022
    Terms of use