Show / Hide Table of Contents

    Class ToolTipConnector

    Connects a ToolTip to a target Maintains that connection even if the target moves

    Inheritance
    Object
    ToolTipConnector
    Namespace: Microsoft.MixedReality.Toolkit.UI
    Assembly: cs.temp.dll.dll
    Syntax
    public class ToolTipConnector : MonoBehaviour

    Properties

    ConnectorFollowingType

    The follow style of the tooltip connector

    Declaration
    public ConnectorFollowType ConnectorFollowingType { get; set; }
    Property Value
    Type Description
    ConnectorFollowType

    ManualPivotDirection

    The direction of the manual pivot.

    Declaration
    public Vector3 ManualPivotDirection { get; set; }
    Property Value
    Type Description
    Vector3

    ManualPivotLocalPosition

    getter/setter for local pivot position

    Declaration
    public Vector3 ManualPivotLocalPosition { get; set; }
    Property Value
    Type Description
    Vector3

    PivotDirection

    The direction of the connector

    Declaration
    public ConnectorPivotDirection PivotDirection { get; set; }
    Property Value
    Type Description
    ConnectorPivotDirection

    PivotDirectionOrient

    Orientation style for connector

    Declaration
    public ConnectorOrientType PivotDirectionOrient { get; set; }
    Property Value
    Type Description
    ConnectorOrientType

    PivotDistance

    Set Distance from object that Tooltip pivots around.

    Declaration
    public float PivotDistance { get; set; }
    Property Value
    Type Description
    Single

    PivotMode

    Is the connector pivot set manually or automatically?

    Declaration
    public ConnectorPivotMode PivotMode { get; set; }
    Property Value
    Type Description
    ConnectorPivotMode

    Target

    The GameObject to which the tooltip is connected

    Declaration
    public GameObject Target { get; set; }
    Property Value
    Type Description
    GameObject

    Methods

    GetDirectionFromPivotDirection(ConnectorPivotDirection, Vector3, Transform)

    Computes the director of the connector

    Declaration
    public static Vector3 GetDirectionFromPivotDirection(ConnectorPivotDirection pivotDirection, Vector3 manualPivotDirection, Transform relativeTo)
    Parameters
    Type Name Description
    ConnectorPivotDirection pivotDirection

    enum describing director of connector pivot

    Vector3 manualPivotDirection

    is the pivot set manually

    Transform relativeTo

    Transform that describes the frame of reference of the pivot

    Returns
    Type Description
    Vector3

    a vector describing the pivot direction in world space

    Back to top Generated by DocFX