Enum XRRayInteractor.LineType
Sets which trajectory path to use for the cast when detecting collisions.
Namespace: UnityEngine.XR.Interaction.Toolkit
Syntax
public enum LineType : int
Fields
| Name | Description | Value |
|---|---|---|
| StraightLine | Performs a single raycast into the Scene with a set ray length. |
0 |
| ProjectileCurve | Samples the trajectory of a projectile to generate a projectile curve. |
1 |
| BezierCurve | Uses a control point and an end point to create a quadratic Bézier curve. |
2 |