Interface ILineRenderable
Get line points and hit point info for rendering.
Namespace: UnityEngine.XR.Interaction.Toolkit
Assembly: solution.dll
Syntax
public interface ILineRenderable
Methods
| Name | Description |
|---|---|
| GetLinePoints(ref Vector3[], out int) | Gets the polygonal chain represented by a list of endpoints which form line segments to approximate the curve. Positions are in world space coordinates. |
| TryGetHitInfo(out Vector3, out Vector3, out int, out bool) | Gets the current ray cast hit information, if a hit occurs. It returns the world position and the normal vector of the hit point, and its position in linePoints. |