ConnectingLine.Create(Transform, Transform, Transform, Single, Color) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Create line segment connecting two transforms and attached to a third
public static Microsoft.MixedReality.WorldLocking.Tools.ConnectingLine Create (UnityEngine.Transform parent, UnityEngine.Transform transformA, UnityEngine.Transform transformB, float width, UnityEngine.Color color);
static member Create : UnityEngine.Transform * UnityEngine.Transform * UnityEngine.Transform * single * UnityEngine.Color -> Microsoft.MixedReality.WorldLocking.Tools.ConnectingLine
Public Shared Function Create (parent As Transform, transformA As Transform, transformB As Transform, width As Single, color As Color) As ConnectingLine
Parameters
- parent
- UnityEngine.Transform
Parent to hang the line segment off of
- transformA
- UnityEngine.Transform
Beginning endpoint of line segment
- transformB
- UnityEngine.Transform
Enging endpoint of line segment
- width
- Single
Width of the Unity LineRenderer
- color
- UnityEngine.Color
Color of the line segment