Class ConnectingLine
Helper class for visualizing a graph of connected transforms.
Namespace: Microsoft.MixedReality.WorldLocking.Tools
Assembly: cs.temp.dll.dll
Syntax
public class ConnectingLine : MonoBehaviour
Methods
Create(Transform, Transform, Transform, Single, Color)
Create line segment connecting two transforms and attached to a third
Declaration
public static ConnectingLine Create(Transform parent, Transform transformA, Transform transformB, float width, Color color)
Parameters
| Type | Name | Description |
|---|---|---|
| Transform | parent | Parent to hang the line segment off of |
| Transform | transformA | Beginning endpoint of line segment |
| Transform | transformB | Enging endpoint of line segment |
| Single | width | Width of the Unity LineRenderer |
| Color | color | Color of the line segment |
Returns
| Type | Description |
|---|---|
| ConnectingLine |