WLT documentation has moved.

We are publishing both conceptual docs and API references on docs.microsoft.com. For conceptual docs, please visit our new landing page. For API references, please visit the Core WLT section of the dot net API explorer and related pages. Existing content will remain here but will not be updated further.

Search Results for

    Show / Hide Table of Contents

    Class ConnectingLine

    Helper class for visualizing a graph of connected transforms.

    Inheritance
    Object
    ConnectingLine
    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
    In This Article
    • Methods
      • Create(Transform, Transform, Transform, Single, Color)
    Back to top Generated by DocFX